[issue7105] weak dict iterators are fragile because of unpredictable GC runs

Kristján Valur Jónsson report at bugs.python.org
Tue Dec 3 10:19:21 CET 2013


Kristján Valur Jónsson added the comment:

d), We could also simply issue a (documentation) warning, that the "iterator" methods of these dictionares are known to be fragile, and recommend that people use the keys(), values() and items() instead.

----------

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


More information about the Python-bugs-list mailing list