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 rhettinger
Recipients Rosuav, arigo, belopolsky, ethan.furman, nikratio, python-dev, rhettinger, serhiy.storchaka
Date 2014-06-15.01:00:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Sorry Nikolaus, I'm happy with the code and docs as they are.  In general, you should assume that unless documented otherwise, any pure python container (stdlib or 3rd party) has undefined behavior if you mutate while iterating (like you should not assume thread-safety unless a container is documented as threadsafe).  At your behest, I added extra code to trigger an earlier and more visible failure in some circumstances, but that is the limit.  OrderedDicts have been around for a good while (not just the stdlib but also in other code predating the one in the stdlib), so we know that this hasn't been a problem in practice. 

Please declare victory, move on, and don't keep extending this closed thread.
Date User Action Args
2014-06-15 01:00:32rhettingersetrecipients: + rhettinger, arigo, belopolsky, nikratio, ethan.furman, python-dev, Rosuav, serhiy.storchaka
2014-06-15 01:00:31rhettingersetmessageid: <>
2014-06-15 01:00:31rhettingerlinkissue19414 messages
2014-06-15 01:00:30rhettingercreate