Skip to content

[Enum] _simple_enum does not handle complex aliases #117663

Closed

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

Activity

  1. added
    type-bugAn unexpected behavior, bug, or error
    3.13only security fixes
    on Apr 9, 2024
  2. self-assigned this
    on Apr 9, 2024
  3. added a commit that references this issue on Apr 9, 2024
  4. added a commit that references this issue on Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

3.13only 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