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 eric.smith
Recipients Dexter Ramos, eric.smith, paul.moore, steve.dower, tim.golden, zach.ware
Date 2020-08-01.13:45:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1596289517.35.0.777995984564.issue41454@roundup.psfhosted.org>
In-reply-to
Content
You're mutating the list while iterating over it, which is causing the behavior you're seeing. This isn't a bug.

See for example https://stackoverflow.com/questions/6260089/strange-result-when-removing-item-from-a-list

Also, when reporting bugs in the future, please include the output you got, and how it differs from what you expected. It's difficult to guess.
History
Date User Action Args
2020-08-01 13:45:17eric.smithsetrecipients: + eric.smith, paul.moore, tim.golden, zach.ware, steve.dower, Dexter Ramos
2020-08-01 13:45:17eric.smithsetmessageid: <1596289517.35.0.777995984564.issue41454@roundup.psfhosted.org>
2020-08-01 13:45:17eric.smithlinkissue41454 messages
2020-08-01 13:45:17eric.smithcreate