Author lukasz.langa
Recipients asvetlov, jcea, lukasz.langa, pitrou, python-dev, sbt, serhiy.storchaka, vstinner
Date 2013-06-08.09:46:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1370684765.06.0.407921555542.issue15528@psf.upfronthosting.co.za>
In-reply-to
Content
Your patch leaks references with subinterpreters, which was exposed by functools.singledispatch using weakref. While the actual bug is in atexit (which doesn't properly unregister on subinterpreter termination), now all uses of weakref leak.

Context: http://mail.python.org/pipermail/python-dev/2013-June/126755.html

PJE suggests importing atexit and registering finalize only when it's actually used. I guess this would be the easiest workaround.
History
Date User Action Args
2013-06-08 09:46:05lukasz.langasetrecipients: + lukasz.langa, jcea, pitrou, vstinner, asvetlov, python-dev, sbt, serhiy.storchaka
2013-06-08 09:46:05lukasz.langasetmessageid: <1370684765.06.0.407921555542.issue15528@psf.upfronthosting.co.za>
2013-06-08 09:46:04lukasz.langalinkissue15528 messages
2013-06-08 09:46:04lukasz.langacreate