bpo-46417: Call _PyDebug_PrintTotalRefs() later by vstinner · Pull Request #30744 · python/cpython · GitHub
Skip to content

bpo-46417: Call _PyDebug_PrintTotalRefs() later - #30744

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:showrefcount
Jan 21, 2022
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:showrefcount

Conversation

@vstinner

@vstinner vstinner commented Jan 21, 2022

Copy link
Copy Markdown
Member

"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().

https://bugs.python.org/issue46417

"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().
@vstinner

vstinner commented Jan 21, 2022

Copy link
Copy Markdown
Member Author

@vstinner
vstinner merged commit ea38e43 into python:main Jan 21, 2022
@vstinner
vstinner deleted the showrefcount branch January 21, 2022 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants