[issue42851] Subclassing Enum with ipaddress.IPv4Network/IPv6Network raises TypeError.

Ethan Furman report at bugs.python.org
Thu Jan 7 10:06:37 EST 2021


Ethan Furman <ethan at stoneleaf.us> added the comment:

That would be due to some changes to try and get `Enum` and `__init_subclass__` to work together.

I'll revert those changes.  Thank you for the report.

----------
assignee:  -> ethan.furman
priority: normal -> high

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42851>
_______________________________________


More information about the Python-bugs-list mailing list