[issue19515] Share duplicated _Py_IDENTIFIER identifiers in C code
STINNER Victor
report at bugs.python.org
Thu Nov 7 18:33:17 CET 2013
STINNER Victor added the comment:
> Victor: There already *is* a cleanup function that clears all allocated identifier memory at interpreter shutdown. Please read the source.
Oh, great! I never noticed _PyUnicode_ClearStaticStrings().
Call trace: Py_Finalize() -> _PyUnicode_ClearStaticStrings() ->
_PyUnicode_Fini().
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19515>
_______________________________________
More information about the Python-bugs-list
mailing list