[pypy-issue] [issue1687] WeakValueDictionary and __del__
Alexey
tracker at bugs.pypy.org
Thu Feb 13 13:14:50 CET 2014
Alexey <hellman1908 at gmail.com> added the comment:
I've minified this to only weakref.ref problem. It looks weird, because changing
this stuff makes bug disappear:
- iteration over 1 list element
- returning single object in list
- wrapping simple list stuff into a function so garbage collector can collect
stuff (and the problem is it collects the object which is not actually dead!)
- reassigning the same variable to another object with __del__ defined
Seems the problem is that somewhere refs are badly counted
----------
status: unread -> chatting
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1687>
________________________________________
More information about the pypy-issue
mailing list