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 vstinner
Recipients hakril, r.david.murray, rhettinger, serhiy.storchaka, vstinner
Date 2014-11-25.14:23:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1416925413.03.0.119685022417.issue22939@psf.upfronthosting.co.za>
In-reply-to
Content
> The `it_index` attribute used by the iterator is a `Py_ssize_t` but overflow is never checked.

Yes it is a bug. iter_iternext() must raises an OverflowError if it->it_index is equal to PY_SSIZE_T_MAX.
History
Date User Action Args
2014-11-25 14:23:33vstinnersetrecipients: + vstinner, rhettinger, r.david.murray, serhiy.storchaka, hakril
2014-11-25 14:23:33vstinnersetmessageid: <1416925413.03.0.119685022417.issue22939@psf.upfronthosting.co.za>
2014-11-25 14:23:33vstinnerlinkissue22939 messages
2014-11-25 14:23:32vstinnercreate