[Python-Dev] PEP 435 -- Adding an Enum type to the Python standard library

Barry Warsaw barry at python.org
Fri Apr 12 17:30:43 CEST 2013

On Apr 12, 2013, at 11:23 AM, R. David Murray wrote:

>To take advantage of their incommensurability with other Enums.  It's
>not a big deal, though; I'm more concerned that the API be internally
>consistent.  I presume that one could always define an Enum subclass
>and provide comparison methods if desired :)

Hey, no peeking! :)


More information about the Python-Dev mailing list