You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Python 3.11, the same is true for enum.Enum types, but the behavior seems to have changed for enum.Flag types. Now, iterating over the type only yields its nonzero values.
Bug report
Bug description:
In Python 3.10, you can iterate over
enum.Enumandenum.Flagtypes to yield their values.In Python 3.11, the same is true for
enum.Enumtypes, but the behavior seems to have changed forenum.Flagtypes. Now, iterating over the type only yields its nonzero values.CPython versions tested on:
3.10, 3.11
Operating systems tested on:
Linux