Message232368
| Author |
vstinner |
| Recipients |
hakril, mark.dickinson, r.david.murray, rhettinger, serhiy.storchaka, vstinner |
| Date |
2014年12月09日.11:22:02 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<CAMpsgwY59Z13MvGBF5FfbO_DAWVQx7LrDVbnM9KLONUuWDR_VA@mail.gmail.com> |
| In-reply-to |
<1418121999.47.0.576207634511.issue22939@psf.upfronthosting.co.za> |
| Content |
I prefer to raise an OverflowError *before* calling
PySequence_GetItem(). The call to PySequence_GetItem() may be
expensive, and we have to drop the result if an OverflowError is
raised after the call. At the end, the behaviour is the same: an
OverflowError is raised. |
|