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 mark.dickinson
Recipients akira, mark.dickinson
Date 2012-09-24.21:14:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348521298.3.0.355136331848.issue16029@psf.upfronthosting.co.za>
In-reply-to
Content
Okay, the xrange stop for both its pickle and its repr is computed as:

   r->start + r->len * r->step

If this overflows, it gives a bad value.  It would suffice to replace it with sys.maxint or -sys.maxint - 1 on overflow.

I'll look at this shortly.
History
Date User Action Args
2012-09-24 21:14:58mark.dickinsonsetrecipients: + mark.dickinson, akira
2012-09-24 21:14:58mark.dickinsonsetmessageid: <1348521298.3.0.355136331848.issue16029@psf.upfronthosting.co.za>
2012-09-24 21:14:57mark.dickinsonlinkissue16029 messages
2012-09-24 21:14:57mark.dickinsoncreate