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 nikratio
Recipients Rosuav, arigo, belopolsky, ethan.furman, nikratio, python-dev, rhettinger, serhiy.storchaka
Date 2014-05-08.03:36:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1399520170.61.0.173203795714.issue19414@psf.upfronthosting.co.za>
In-reply-to
Content
Raymond, I think your patch does not really address the issue reported here. The dict documentation still guarantees that mutating a dict during iteration will raise a RuntimeError or may skip elements. The OrderedDict documentation still does not point out that OrderedDicts behave differently, yet they still raise a different exception than a regular dict in the same situation.

I believe it should be possible to pass an OrderedDict to any function expecting a regular dict. This is still not possible. But even if you think this is not desirable (or not worth the cost), could we at least *document* that OrderedDicts behave differently?
History
Date User Action Args
2014-05-08 03:36:10nikratiosetrecipients: + nikratio, arigo, rhettinger, belopolsky, ethan.furman, python-dev, Rosuav, serhiy.storchaka
2014-05-08 03:36:10nikratiosetmessageid: <1399520170.61.0.173203795714.issue19414@psf.upfronthosting.co.za>
2014-05-08 03:36:10nikratiolinkissue19414 messages
2014-05-08 03:36:09nikratiocreate