[Python-Dev] results of id() and weakref.getweakrefs() sometimes break on object resurrection

Antoine Pitrou solipsis at pitrou.net
Sun Oct 26 02:18:01 CET 2014


On Sun, 26 Oct 2014 02:50:39 +0200
"Stefan Richthofer" <Stefan.Richthofer at gmx.de> wrote:
> Okay, sorry, I was thinking too Jython-like. I fixed runGC() just to
> see now that it does not even trigger resurrection, since under
> CPython there are no finalizers executed in ref cycles (i.e. I find my
> objects in gc.garbage).

Try CPython 3.4 :-)

Regards

Antoine.




More information about the Python-Dev mailing list