SIGN IN SIGN UP

[3.13] gh-111499: Fix PYTHONMALLOCSTATS at Python exit (GH-120021) (#120022)

gh-111499: Fix PYTHONMALLOCSTATS at Python exit (GH-120021)

Call _PyObject_DebugMallocStats() earlier in Py_FinalizeEx(), before
the interpreter is deleted.
(cherry picked from commit 5a1205b641df133932ed4c65b9a4ff5724e89963)

Co-authored-by: Victor Stinner <vstinner@python.org>
M
Miss Islington (bot) committed
6e67fd5beaa26cd80d43a258c14f6044803d33fa
Parent: 1177897
Committed by GitHub <noreply@github.com> on 6/4/2024, 10:02:12 AM