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 Dhiraj_Mishra, gregory.p.smith, vstinner
Date 2022-01-28.02:24:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643336667.54.0.846296069067.issue35774@roundup.psfhosted.org>
In-reply-to
Content
> 1. Run python
> 2. Ctrl + D

It seems like this scenario has recently been fixed in bpo-1635741:

$ ./python -I -X showrefcount 
Python 3.11.0a4+ (heads/main:18ea973c21, Jan 28 2022, 01:38:10) [GCC 11.2.1 20211203 (Red Hat 11.2.1-7)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> exit()
[-4 refs, 1 blocks]

If you still see memory leaks in Python 3.11, please better describe what you do to "Run python" and open a new issue ;-)
History
Date User Action Args
2022-01-28 02:24:27vstinnersetrecipients: + vstinner, gregory.p.smith, Dhiraj_Mishra
2022-01-28 02:24:27vstinnersetmessageid: <1643336667.54.0.846296069067.issue35774@roundup.psfhosted.org>
2022-01-28 02:24:27vstinnerlinkissue35774 messages
2022-01-28 02:24:27vstinnercreate