Aaron Koch added the comment:
Are there any other names that you would contemplate besides `from_name` and
`from_value`? My reading of your response indicates that you are fundamentally
opposed to the addition of class methods, since they would limit the space of
possible instance methods
New submission from Aaron Koch :
Documentation: https://docs.python.org/3/library/enum.html#creating-an-enum
Current behavior:
SomeEnum[name] is used to construct an enum by name
SomeEnum(value) is used to construct an enum by value
Problem:
As a user of enums, it is difficult to remember