On 6/29/21 9:50 AM, Barry Warsaw wrote:
the Steering Council strongly suggests that for Python 3.10, the changes in Enum’s str and repr be reverted back to the Python 3.9 behavior, and that a PEP be written for Python 3.11.
I was unable to revert just the str and repr changes in the time available as many of them were integral to fixes and improvements made to Flag. As a result the enum in 3.10 will be the same as 3.9 (complete module reversion).
A PEP will be forthcoming.
My apologies and sympathies to those that contributed to the 3.10 enum module -- look for those changes in 3.11.
-- ~Ethan~