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 serhiy.storchaka
Recipients brett.cannon, martin.panter, scoder, serhiy.storchaka
Date 2015-12-16.02:02:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1450231372.17.0.954190754656.issue25873@psf.upfronthosting.co.za>
In-reply-to
Content
Good catch Martin. I missed this case. Following patch fixes it.

Other bugs look similar. They presumably can be triggered when remove the element itself during executing the __next__() method. I have no a reproducer though.

I don't know wherever it is worth to fix these bugs in maintained releases.
History
Date User Action Args
2015-12-16 02:02:52serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, scoder, martin.panter
2015-12-16 02:02:52serhiy.storchakasetmessageid: <1450231372.17.0.954190754656.issue25873@psf.upfronthosting.co.za>
2015-12-16 02:02:52serhiy.storchakalinkissue25873 messages
2015-12-16 02:02:49serhiy.storchakacreate