bpo-46417: Call _PyDebug_PrintTotalRefs() later (GH-30744) · python/cpython@ea38e43 · GitHub
Skip to content

Commit ea38e43

Browse files
authored
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().
1 parent 54610bb commit ea38e43

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

Lines changed: 3 additions & 0 deletions

Python/pylifecycle.c

Lines changed: 6 additions & 6 deletions

0 commit comments

Comments
 (0)