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 <CAMpsgwY0iS9Z4vAgRPhMXUOZRL_7W+5AV=C2OeDWPb_D=POieA@mail.gmail.com>
In-reply-to <1417896496.07.0.755848796156.issue22939@psf.upfronthosting.co.za>
Content
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.
History
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