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, mark.dickinson, r.david.murray, rhettinger, serhiy.storchaka, vstinner
Date 2014-12-07.08:44:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <>
You should not rely on undefined behaviour: check if the index is greater
or equal than PY_SSIZET_MAX - 1. __setstate__ must implement the same check.

You must always raise an error, not hide it in a second call to next (raise
StopIteration). Your unit test must check this behaviour.
Date User Action Args
2014-12-07 08:44:12vstinnersetrecipients: + vstinner, rhettinger, mark.dickinson, r.david.murray, serhiy.storchaka, hakril
2014-12-07 08:44:12vstinnerlinkissue22939 messages
2014-12-07 08:44:11vstinnercreate