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 p-ganssle
Recipients lukasz.langa, miss-islington, p-ganssle, vstinner
Date 2020-08-17.16:32:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1597681956.09.0.377131855971.issue41025@roundup.psfhosted.org>
In-reply-to
Content
There are two refleaks here. One is a reference leaking to the weak cache in `__init_subclass__` (one leak every time a subclass is created), and the other is that when `subclass.clear_cache()` is called, it sets `ZONEINFO_STRONG_CACHE = NULL`, thus causing a reference leak to the parent class's strong cache.

I'll send a PR to fix it shortly.
History
Date User Action Args
2020-08-17 16:32:36p-gansslesetrecipients: + p-ganssle, vstinner, lukasz.langa, miss-islington
2020-08-17 16:32:36p-gansslesetmessageid: <1597681956.09.0.377131855971.issue41025@roundup.psfhosted.org>
2020-08-17 16:32:36p-gansslelinkissue41025 messages
2020-08-17 16:32:36p-gansslecreate