[issue2603] Make range __eq__ work

Alexander Belopolsky report at bugs.python.org
Sat Apr 26 00:04:21 CEST 2008


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

It looks like e-mail processor eats '>>>' examples.  My examples were

>>> range(2**100) == range(2**100+1)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OverflowError: Python int too large to convert to C ssize_t

and

>>> range(2**100) == range(2**100)
True

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2603>
__________________________________


More information about the Python-bugs-list mailing list