This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients corona10, erlendaasland, kumaraditya, miss-islington, petr.viktorin, phsilva, shihai1991, vstinner
Date 2022-01-22.23:41:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642894900.48.0.511979238775.issue46417@roundup.psfhosted.org>
In-reply-to
Content
> New changeset a1444f43584af0f7a0af72aa06ba0a86ae5a87a2 by Victor Stinner in branch 'main':
> bpo-46417: Fix _PyStaticType_Dealloc() (GH-30810)
> https://github.com/python/cpython/commit/a1444f43584af0f7a0af72aa06ba0a86ae5a87a2

At this commit, Py_Finalize() no longer leaks references. It exceeded my expectations, it even makes _Py_RefTotal negative :-D

    $ ./python -I -X showrefcount -c pass
    [-4 refs, 61 blocks]

I'm not sure why it's negative, but bpo-46449 should be investigate first.
History
Date User Action Args
2022-01-22 23:41:40vstinnersetrecipients: + vstinner, phsilva, petr.viktorin, corona10, miss-islington, shihai1991, erlendaasland, kumaraditya
2022-01-22 23:41:40vstinnersetmessageid: <1642894900.48.0.511979238775.issue46417@roundup.psfhosted.org>
2022-01-22 23:41:40vstinnerlinkissue46417 messages
2022-01-22 23:41:40vstinnercreate