[Python-Dev] AutoNumber Enum
levkivskyi at gmail.com
Wed Jun 29 16:49:19 EDT 2016
> Presumably you want a bitfield enum, and those should descend from
Yes, and probably having an AutoNumberIntEnum would indeed be too much
magic in one place.
Anyway, it is easy to implement bitfield IntEnum without magic.
To be clear, I like the Ethan's original proposal.
> TBH I'd prefer the AutoNumberEnum *not* have this feature; it's already a
> little too magical for my tastes.
> Python-Dev mailing list
> Python-Dev at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev