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 ethan.furman
Recipients barry, eli.bendersky, ethan.furman
Date 2021-01-12.01:27:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In discussions about moving the calls to `__set_name__` and `__init_subclass__`, Nick Coughlan made an observation:

Nick Coghlan:
> Both EnumMeta and ABCMeta should probably be relying on `__set_name__`
> for their per-member set up work these days, rather than deferring that
> work until after `__new__` returns.

By having `__set_name__` create the final members, they will be in place for the call to `__init_subclass__`.
Date User Action Args
2021-01-12 01:27:28ethan.furmansetrecipients: + ethan.furman, barry, eli.bendersky
2021-01-12 01:27:28ethan.furmansetmessageid: <>
2021-01-12 01:27:28ethan.furmanlinkissue42901 messages
2021-01-12 01:27:27ethan.furmancreate