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 <rep...@bugs.python.org> <http://bugs.python.org/issue19515> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com