[New-bugs-announce] [issue42567] Enum: manually call __init_subclass__ after members are added

Ethan Furman report at bugs.python.org
Fri Dec 4 09:51:03 EST 2020


New submission from Ethan Furman <ethan at stoneleaf.us>:

__init_subclass__ is being automatically called when the initial Enum is created, but before the members have been added, greatly reducing that method's usefulness.

----------
assignee: ethan.furman
components: Library (Lib)
messages: 382489
nosy: ethan.furman
priority: normal
severity: normal
stage: needs patch
status: open
title: Enum: manually call __init_subclass__ after members are added
type: behavior
versions: Python 3.10

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


More information about the New-bugs-announce mailing list