[issue15528] Better support for finalization with weakrefs
Richard Oudkerk
report at bugs.python.org
Thu Feb 14 16:45:23 CET 2013
Richard Oudkerk added the comment:
On 14/02/2013 3:16pm, Antoine Pitrou wrote:
> Mmmh... thread switching is already blocked at shutdown:
> http://hg.python.org/cpython/file/0f827775f7b7/Python/ceval.c#l434
But in Py_Finalize(), call_py_exitfuncs() is called *before* _Py_Finalizing is set to a non-NULL value.
http://hg.python.org/cpython/file/0f827775f7b7/Python/pythonrun.c#l492
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15528>
_______________________________________
More information about the Python-bugs-list
mailing list