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 vstinner
Date 2022-02-25.16:57:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645808231.81.0.426207041717.issue46857@roundup.psfhosted.org>
In-reply-to
Content
"./python -X showrefcount -I -c pass" returns "[0 refs, 0 blocks]" as expected on Linux: Python doesn't leak any reference nor memory block.

But on Windows, it still leaks 1 reference (and 1 memory block)!

vstinner@DESKTOP-DK7VBIL C:\vstinner\python\main>python -X showrefcount -I -c pass
[1 refs, 1 blocks]

I recently added a test in test_embed which now fails on Windows.

See bpo-1635741 "Py_Finalize() doesn't clear all Python objects at exit" for the context.
History
Date User Action Args
2022-02-25 16:57:11vstinnersetrecipients: + vstinner
2022-02-25 16:57:11vstinnersetmessageid: <1645808231.81.0.426207041717.issue46857@roundup.psfhosted.org>
2022-02-25 16:57:11vstinnerlinkissue46857 messages
2022-02-25 16:57:11vstinnercreate