Message232250
| 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 ? |
|