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 phsilva
Recipients Alex Budovski, amaury.forgeotdarc, corona10, eric.snow, isoschiz, kylotan, miss-islington, pconnell, phsilva, santoso.wijaya, shihai1991, tlesher, vstinner, ysj.ray
Date 2020-03-23.01:44:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1584927852.39.0.517418376285.issue1635741@roundup.psfhosted.org>
In-reply-to
Content
About half of the remaining refs are related to encodings. I noticed that caches on Lib/encodings/__init__.py and codec_search_cach of PyInterpreterState are the places holding the refs. I removed those caches and number went do to:

Before: 4382 refs left
After : 2344 refs left (-46%)

The way to destroy codec_search_cache was recently changed on #36854 and $38962.

(Not proposing to merge this, but my changes are at https://github.com/python/cpython/compare/master...phsilva:remove-codec-caches).
History
Date User Action Args
2020-03-23 01:44:12phsilvasetrecipients: + phsilva, amaury.forgeotdarc, kylotan, vstinner, tlesher, ysj.ray, santoso.wijaya, eric.snow, pconnell, isoschiz, Alex Budovski, corona10, miss-islington, shihai1991
2020-03-23 01:44:12phsilvasetmessageid: <1584927852.39.0.517418376285.issue1635741@roundup.psfhosted.org>
2020-03-23 01:44:12phsilvalinkissue1635741 messages
2020-03-23 01:44:12phsilvacreate