[issue42671] Make the Python finalization more deterministic

STINNER Victor report at bugs.python.org
Fri Dec 18 05:47:41 EST 2020


STINNER Victor <vstinner at python.org> added the comment:

> I wrote this issue to attempt to fix a leak in PR 23811 which converts the _thread extension module to the multiphase initialization API (PEP 489).

I fixed this bug by adding a traverse function to the _thread lock type. So I don't *need* this issue to unblock PR 23811 anymore.

But I'm still interested to make the finalization more determistic.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42671>
_______________________________________


More information about the Python-bugs-list mailing list