[issue24554] GC should happen when a subinterpreter is destroyed

STINNER Victor report at bugs.python.org
Wed Jan 8 08:36:19 EST 2020


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

Py_EndInterpreter() now calls gc.collect() at least twice: at the end of _PyImport_Cleanup() and in finalize_interp_clear(). I now consider the issue as fixed and so I close it.

The issue that I described in my previous comment can be enhanced/fixed later.

----------
resolution:  -> fixed
stage: test needed -> resolved
status: open -> closed
versions: +Python 3.9 -Python 3.5, Python 3.6

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


More information about the Python-bugs-list mailing list