]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46417: Call _PyDebug_PrintTotalRefs() later (GH-30744)
authorVictor Stinner <vstinner@python.org>
Fri, 21 Jan 2022 12:05:26 +0000 (13:05 +0100)
committerGitHub <noreply@github.com>
Fri, 21 Jan 2022 12:05:26 +0000 (13:05 +0100)
commitea38e436fe1e585fb8c1f0badf5482f525b7f9ff
tree6ec2a9fba659376e62c80b2f596479de4c0a4793
parent54610bb448a9cf5be77d53b66169fca4c11be6cb
bpo-46417: Call _PyDebug_PrintTotalRefs() later (GH-30744)

"python -X showrefcount" now shows the total reference count after
clearing and destroyed the main Python interpreter. Previously, it
was shown before.

Py_FinalizeEx() now calls _PyDebug_PrintTotalRefs() after
finalize_interp_delete().
Misc/NEWS.d/next/Core and Builtins/2022-01-21-12-24-14.bpo-46417.i3IqMf.rst [new file with mode: 0644]
Python/pylifecycle.c