Skip to content

[Enum] _simple_enum does not handle complex aliases #117663

Closed
@ethanfurman

Description

@ethanfurman

Bug report

Bug description:

If an enum's __new__ takes multiple arguments, and only one of those arguments is the member value, _simple_enum fails (it treats all the arguments as a single tuple value).

CPython versions tested on:

3.13

Operating systems tested on:

Linux

Linked PRs

Metadata

Metadata

Assignees

Labels

3.13bugs and security fixestype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions