Message408936
Ah, of course, I'm an idiot — I forgot that a class could not prevent the creation of __dict__ unless the parent class also had __slots__. Thanks, Christian.
In which case: consider this a feature request to consider adding __slots__ to enum.Enum: for faster attribute access, lower memory footprint, and the ability to define __slots__ in custom Enum classes. |
|
Date |
User |
Action |
Args |
2021-12-19 23:14:50 | AlexWaygood | set | recipients:
+ AlexWaygood, christian.heimes, ethan.furman |
2021-12-19 23:14:50 | AlexWaygood | set | messageid: <1639955690.83.0.506477542036.issue46132@roundup.psfhosted.org> |
2021-12-19 23:14:50 | AlexWaygood | link | issue46132 messages |
2021-12-19 23:14:50 | AlexWaygood | create | |
|