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
My apologies for the extra work. I renamed it (and kept the old name as an alias) because I personally found it confusing when working with enums to have, for example, SelectionEnum be of type EnumMeta and not EnumType.
#22392 renamed the
enum.EnumMeta
metaclass toenum.EnumType
. This originally went into 3.10 and was reverted (#27010), but remained on 3.11.The renaming caused some problems for me with introspection code that looks at the name of classes to find their stubs (quora/pyanalyze#537).
I don't see anything wrong with the old name (
EnumMeta
). Could we return to theEnumMeta
name to avoid gratuitously making upgrades harder?cc @ethanfurman for enum
The text was updated successfully, but these errors were encountered: