STINNER Victor <vstin...@python.org> added the comment:
> bpo-40521: Make list free list per-interpreter (GH-20642) > https://github.com/python/cpython/commit/88ec9190105c9b03f49aaef601ce02b242a75273 This change contains an interesting fix: * _PyGC_Fini() clears gcstate->garbage list which can be stored in the list free list. Call _PyGC_Fini() before _PyList_Fini() to prevent leaking this list. Maybe "Fini" functions should disable free lists to prevent following code to add something to a free list, during Python finalization. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40521> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com