Alexey <[email protected]> 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 <[email protected]>
<https://bugs.pypy.org/issue1687>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to