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

Kristján Valur Jónsson report at bugs.python.org
Mon Nov 18 13:14:04 CET 2013


Kristján Valur Jónsson added the comment:

Attached is a version for 2.7

Btw, I think a cleaner way to deal with unpredictable GC runs is to be able to temporarily disable GC with a context manager.

----------
nosy: +kristjan.jonsson
Added file: http://bugs.python.org/file32689/issue7105.patch

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


More information about the Python-bugs-list mailing list