Open 4eUeP opened 1 year ago
Python 3.11 has a breaking change that IntEnum.__str__() returns the int value instead of its name. This will make the following indexing fail on Python 3.11.
IntEnum.__str__()
Ref: https://docs.python.org/3.11/library/enum.html#enum.IntEnum
Python 3.11 has a breaking change that
IntEnum.__str__()
returns the int value instead of its name. This will make the following indexing fail on Python 3.11.Ref: https://docs.python.org/3.11/library/enum.html#enum.IntEnum