[issue1533] Bug in range() function for large values
jos
report at bugs.python.org
Sat Dec 1 02:37:18 CET 2007
jos added the comment:
Is this a bug?
print range(MyInt(2**64), MyInt(2**64+10))
produced
TypeError: range() integer start argument expected, got instance.
print range(int(MyInt(2**64)), int(MyInt(2**64+10)))
should work.
----------
nosy: +josm
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1533>
__________________________________
More information about the Python-bugs-list
mailing list