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
Fixes enum value inference in cases where the value type is of a
user-defined data type class (with __new__).
This fixes a regression introduced by python#10057 to fixpython#10000. The
`not ti.fullname.startswith("builtins.") clause seemed to be intended
to catch enums with a built-in data type like int or bytes, but this is
overly broad. It should allow any type so long as it is not itself an
enum.Enum subclass.
0 commit comments