[issue6017] Dict fails to notice addition and deletion of keys during iteration

R. David Murray report at bugs.python.org
Sat May 16 15:52:08 CEST 2009


R. David Murray <rdmurray at bitdance.com> added the comment:

The precisionist in me insists that at a minimum 'will' should be changed
to 'may'.  Otherwise either the docs are lying or the implementation
has a bug.

Or perhaps we could add a footnote about the intentionally divergent
behavior of the CPython implementation?

(As Terry pointed out these docs may be used by other implementors as a
prescriptive guide, just as the language reference is.)

----------
nosy: +r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6017>
_______________________________________


More information about the Python-bugs-list mailing list