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 Arfrever, benjamin.peterson, berker.peksag, christian.heimes, pkt, serhiy.storchaka
Date 2016-09-27.08:19:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Bad things happen not only when a list shrinks, but also when it grows during iteration.

The one solution is to check if the size is changed on every iteration. The other solution is to convert a list to a tuple for iterating.
Date User Action Args
2016-09-27 08:19:02serhiy.storchakasetrecipients: + serhiy.storchaka, christian.heimes, benjamin.peterson, Arfrever, berker.peksag, pkt
2016-09-27 08:19:02serhiy.storchakasetmessageid: <>
2016-09-27 08:19:02serhiy.storchakalinkissue24098 messages
2016-09-27 08:19:02serhiy.storchakacreate