Skip to content

enum.EnumMeta renaming #93064

Closed
Closed
@JelleZijlstra

Description

@JelleZijlstra

#22392 renamed the enum.EnumMeta metaclass to enum.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 the EnumMeta name to avoid gratuitously making upgrades harder?

cc @ethanfurman for enum

Metadata

Metadata

Assignees

Labels

3.11only security fixes

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions