The fact that tests are passing on both Python 2 and 3 suggests that this
code branch is untested, and I confirmed by inserting a `pdb.set_trace()`
at that point and running the full test suite. That's a sizable code
branch; it should be tested.
--
Ticket URL: <https://code.djangoproject.com/ticket/21883>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => fixed
Comment:
The branch is tested, but only on Oracle. I don't think Python 3 + Oracle
is actively tested, so for that reason the error wasn't spotted until now.
Seems like Trac didn't pick up my commit, so fixed in
0ca647357ecb0e3fe507d90a9518198751b2d408:
{{{
Fixed #21883 -- Added six.moves.xrange import
When moving code around from sql.where to lookups six.moves.xrange
import was forgotten. The xrange import is needed on Python 3.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/21883#comment:1>
Comment (by shai):
Replying to [comment:1 akaariai]:
> I don't think Python 3 + Oracle is actively tested
Python3 + Oracle segfaults. #20725.
--
Ticket URL: <https://code.djangoproject.com/ticket/21883#comment:2>