[issue35815] Able to instantiate a subclass with abstract methods from __init_subclass__ of the ABC

Ethan Furman report at bugs.python.org
Mon Feb 1 15:09:42 EST 2021


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

That patch was reject in favor of updating Enum to use `__set_name__` to do the final creation of enum members.

The same thing could be done for ABC, but I lack the C skills to make it happen.

----------
assignee: ethan.furman -> 
superseder: __init_subclass__ should be called in __init__ -> 
versions: +Python 3.10 -Python 3.7, Python 3.8

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


More information about the Python-bugs-list mailing list