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 p-ganssle
Date 2020-06-18.14:26:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In the C implementation of zoneinfo.ZoneInfo, __init_subclass__ is not declared as a classmethod, which prevents it from being subclassed. This was not noticed because the tests for ZoneInfo subclasses in C are actually testing zoneinfo.ZoneInfo, not a subclass, due to a mistake in the inheritance tree:

Originally reported on the backport by Sébastien Eustace:

The fix in the backport is here:
Date User Action Args
2020-06-18 14:26:51p-gansslesetrecipients: + p-ganssle
2020-06-18 14:26:51p-gansslesetmessageid: <>
2020-06-18 14:26:51p-gansslelinkissue41025 messages
2020-06-18 14:26:51p-gansslecreate