[issue26521] add `extend_enum` to Enum

Barry A. Warsaw report at bugs.python.org
Wed Mar 9 14:15:36 EST 2016


Barry A. Warsaw added the comment:

I was thrown off a bit by the description below.  it's not that the OP wants to generate an Enum lazily (the functional API lets them do that), it's that the OP wants to *extend* an Enum lazily.

Seems like a pretty obscure use case to me.  I'd vote for letting it live in SO and not putting it in the stdlib.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26521>
_______________________________________


More information about the Python-bugs-list mailing list