]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-111499: Fix PYTHONMALLOCSTATS at Python exit (#120021) (#120023)
authorVictor Stinner <vstinner@python.org>
Tue, 4 Jun 2024 09:58:49 +0000 (11:58 +0200)
committerGitHub <noreply@github.com>
Tue, 4 Jun 2024 09:58:49 +0000 (09:58 +0000)
commite3e7607167a9de2790a07a1a5f76a825f551bc9a
tree6ff7e0334ab2adab22f2267377c088a60800a751
parent3bf7a5079c8d1845af98c145056e7ae1e102be43
[3.12] gh-111499: Fix PYTHONMALLOCSTATS at Python exit (#120021) (#120023)

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

Call _PyObject_DebugMallocStats() earlier in Py_FinalizeEx(), before
the interpreter is deleted.

(cherry picked from commit 5a1205b641df133932ed4c65b9a4ff5724e89963)
Python/pylifecycle.c