[issue1635741] Py_Finalize() doesn't clear all Python objects at exit
STINNER Victor
report at bugs.python.org
Wed Aug 12 17:17:59 EDT 2020
STINNER Victor <vstinner at python.org> added the comment:
> There will have many unicode strs releaks when we calling `Py_Initialize()` again after `Py_Finalize()`: interned will be cleared in `Py_Finalize()`, but those unicodes str will still alive all the time.
Py_Finalize() calls _PyUnicode_ClearInterned() which clears interned strings. Which strings are still alive after Py_Finalize()?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue1635741>
_______________________________________
More information about the Python-bugs-list
mailing list