Message171188
The bug is (not surprisingly) in range_reduce in Objects/rangeobject.c, where
return Py_BuildValue("(O(iii))", Py_TYPE(r),
should be
return Py_BuildValue("(O(lll))", Py_TYPE(r),
But in writing tests for this bug, I fell over another one:
>>> import sys
>>> xrange(0, sys.maxint, sys.maxint-1)
xrange(0, -4, 2147483646) |
|
Date |
User |
Action |
Args |
2012-09-24 20:59:10 | mark.dickinson | set | recipients:
+ mark.dickinson, akira |
2012-09-24 20:59:10 | mark.dickinson | set | messageid: <1348520350.45.0.0515803495391.issue16029@psf.upfronthosting.co.za> |
2012-09-24 20:59:09 | mark.dickinson | link | issue16029 messages |
2012-09-24 20:59:09 | mark.dickinson | create | |
|