New submission from Ethan Furman:

In this SO question [1] 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.

[1] http://stackoverflow.com/q/28126314/208880

----------
assignee: ethan.furman
messages: 261464
nosy: barry, eli.bendersky, ethan.furman
priority: low
severity: normal
status: open
title: add `extend_enum` to Enum
versions: Python 3.6

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26521>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to