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 <>
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.
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: <>
2020-08-17 16:32:36p-gansslelinkissue41025 messages
2020-08-17 16:32:36p-gansslecreate