PEP 435 Accepted – Adding an Enum type to the Python standard library
I don't think that enums should have values (i.e. numbers).Nearly every language does it that way but isn't that just because C originally implemented enums with numbers? Modern languages are much higher level.Java enums don't have any numeric equivalent value, they are just objects, with textual names if you must convert them into something more primative.