[New-bugs-announce] [issue26521] add `extend_enum` to Enum
report at bugs.python.org
Wed Mar 9 13:57:36 EST 2016
New submission from Ethan Furman:
In this SO question  the OP has a need to generate an Enum lazily. I created an `extend_enum` function to do so. By the time I was done I realized I would not want anyone to have to create that function by hand, nor keep it up to date (should we ever change the implementation details).
Should we add this to the stdlib? Note that this does not change anything about subclassing Enum.
nosy: barry, eli.bendersky, ethan.furman
title: add `extend_enum` to Enum
versions: Python 3.6
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce