Nikolaus Rath added the comment: Being able to modify an OrderedDict while iterating through it is pretty useful though.
What about documenting that modifying an OrderedDict is allowed, but may cause iteration to skip or repeat items (but do not allow it to raise RuntimeError)? As far as I can tell, the current implementation will already guarantee that (as soon as this issue is fixed). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19414> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com