This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zanella
Recipients josm, rhettinger, robertwb, zanella
Date 2008-02-21.11:16:28
SpamBayes Score 0.16222367
Marked as misclassified No
Message-id <1203592600.29.0.490118621008.issue1533@psf.upfronthosting.co.za>
In-reply-to
Content
FWIW, using xrange() it seems to give the proper error message:

Traceback (most recent call last):
  File "bad_range.py", line 12, in <module>
    print xrange(MyInt(2**64), MyInt(2**64+10))
OverflowError: long int too large to convert to int
History
Date User Action Args
2008-02-21 11:16:40zanellasetspambayes_score: 0.162224 -> 0.16222367
recipients: + zanella, rhettinger, josm, robertwb
2008-02-21 11:16:40zanellasetspambayes_score: 0.162224 -> 0.162224
messageid: <1203592600.29.0.490118621008.issue1533@psf.upfronthosting.co.za>
2008-02-21 11:16:28zanellalinkissue1533 messages
2008-02-21 11:16:28zanellacreate