Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jan 21, 2022

"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
Copy link
Member Author

vstinner commented Jan 21, 2022

Measurement of bpo-1635741 progress using this change (to be able to compare Python versions) on the ./python -I -X showrefcount -c pass command:

We are getting closer to 0 :-)

@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