[issue1533] Bug in range() function for large values
Alexander Belopolsky
report at bugs.python.org
Sat May 1 22:12:23 CEST 2010
Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
I am attaching a patch which does not crash or leak (as tested with -R :) and adds a unit test for OP's case.
The problem, however is that it does not work if new style classes are used in the test case. See disabled (with if 0) test in the patch.
I'll give it some more thought.
----------
Added file: http://bugs.python.org/file17171/bltinmodule3.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1533>
_______________________________________
More information about the Python-bugs-list
mailing list