Message218095
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? |
|
Date |
User |
Action |
Args |
2014-05-08 03:36:10 | nikratio | set | recipients:
+ nikratio, arigo, rhettinger, belopolsky, ethan.furman, python-dev, Rosuav, serhiy.storchaka |
2014-05-08 03:36:10 | nikratio | set | messageid: <1399520170.61.0.173203795714.issue19414@psf.upfronthosting.co.za> |
2014-05-08 03:36:10 | nikratio | link | issue19414 messages |
2014-05-08 03:36:09 | nikratio | create | |
|