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 CharlieZhao, Jim Fasarakis-Hilliard, TCsaba, amaury.forgeotdarc, christian.heimes, corona10, eric.snow, erlendaasland, h-vetinari, isoschiz, koubaa, kumaraditya, kylotan, lukasz.langa, miss-islington, orsenthil, pconnell, petr.viktorin, phsilva, python-dev, santoso.wijaya, serhiy.storchaka, shihai1991, tlesher, vstinner, ysj.ray
Date 2022-01-22.18:46:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642877184.32.0.669468616822.issue1635741@roundup.psfhosted.org>
In-reply-to
Content
In bpo-46417, I pushed a change to call _PyDebug_PrintTotalRefs() after destroying the interpreter. I backported locally this change to other Python versions to compare the progress on old Python versions:

./python -I -X showrefcount -c pass command:

* Python 3.7: [22636 refs, 7453 blocks]
* Python 3.8: [18082 refs, 5867 blocks]
* Python 3.9: [17786 refs, 5766 blocks]
* Python 3.10: [10725 refs, 3978 blocks]
* current main branch: [2957 refs, 1240 blocks]

Yeah, main is way better than Python 3.10! I pushed many changes in 
bpo-46417 to clear most static types, it helps a lot!
History
Date User Action Args
2022-01-22 18:46:24vstinnersetrecipients: + vstinner, amaury.forgeotdarc, orsenthil, kylotan, christian.heimes, tlesher, phsilva, petr.viktorin, ysj.ray, santoso.wijaya, lukasz.langa, python-dev, eric.snow, serhiy.storchaka, pconnell, isoschiz, Jim Fasarakis-Hilliard, corona10, miss-islington, shihai1991, erlendaasland, koubaa, h-vetinari, TCsaba, kumaraditya, CharlieZhao
2022-01-22 18:46:24vstinnersetmessageid: <1642877184.32.0.669468616822.issue1635741@roundup.psfhosted.org>
2022-01-22 18:46:24vstinnerlinkissue1635741 messages
2022-01-22 18:46:24vstinnercreate