[issue7105] weak dict iterators are fragile because of unpredictable GC runs
Antoine Pitrou
report at bugs.python.org
Mon Dec 2 15:30:24 CET 2013
Antoine Pitrou added the comment:
> Anyway, it's not for me to decide. We have currently three options:
> a) my first patch, which is a duplication of the 3.x work but is
> non-trivial and could bring stability issues
> b) my second patch, which will increase memory use, but to no more
> than previous versions of python used while iterating
> c) do nothing and have iterations over weak dicts randomly break when
> an underlying cycle is unraveled during iteration.
Either a) or c), for me. We shouldn't change semantics in bugfix
releases.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7105>
_______________________________________
More information about the Python-bugs-list
mailing list