Message384875
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:28 | ethan.furman | set | recipients:
+ ethan.furman, barry, eli.bendersky |
2021-01-12 01:27:28 | ethan.furman | set | messageid: <1610414848.42.0.389708219553.issue42901@roundup.psfhosted.org> |
2021-01-12 01:27:28 | ethan.furman | link | issue42901 messages |
2021-01-12 01:27:27 | ethan.furman | create | |
|