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 hakril
Recipients hakril, mark.dickinson, r.david.murray, rhettinger, serhiy.storchaka, vstinner
Date 2014-12-06.20:08:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1417896496.07.0.755848796156.issue22939@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a first try for a patch.

There are two points I am not sure about:

1) The message for the OverflowError: is that explicit enough ?

2) The behaviour of the iterator after the raise of OverflowError. 
With this patch every call to `next(it)` where `it` have overflowed will raise `OverflowError` again.
Does this behaviour seems correct our should it raise StopIteration after the first OverflowError ?
History
Date User Action Args
2014-12-06 20:08:16hakrilsetrecipients: + hakril, rhettinger, mark.dickinson, vstinner, r.david.murray, serhiy.storchaka
2014-12-06 20:08:16hakrilsetmessageid: <1417896496.07.0.755848796156.issue22939@psf.upfronthosting.co.za>
2014-12-06 20:08:16hakrillinkissue22939 messages
2014-12-06 20:08:15hakrilcreate