Skip to content

Enum repr() incorrect when mixed with non-__new__ data types #90266

@ethanfurman

Description

@ethanfurman
BPO 46108
Nosy @ericvsmith, @ethanfurman
Superseder
  • bpo-40066: Enum: modify repr, str; update docs
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/ethanfurman'
    closed_at = <Date 2022-01-17.16:59:39.171>
    created_at = <Date 2021-12-17.01:13:16.460>
    labels = ['type-bug', '3.8', '3.9', '3.10', '3.11']
    title = 'Enum repr() incorrect when mixed with non-__new__ data types'
    updated_at = <Date 2022-01-17.16:59:39.170>
    user = 'https://github.com/ethanfurman'

    bugs.python.org fields:

    activity = <Date 2022-01-17.16:59:39.170>
    actor = 'ethan.furman'
    assignee = 'ethan.furman'
    closed = True
    closed_date = <Date 2022-01-17.16:59:39.171>
    closer = 'ethan.furman'
    components = []
    creation = <Date 2021-12-17.01:13:16.460>
    creator = 'ethan.furman'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46108
    keywords = []
    message_count = 4.0
    messages = ['408748', '408756', '408775', '410806']
    nosy_count = 2.0
    nosy_names = ['eric.smith', 'ethan.furman']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = '40066'
    type = 'behavior'
    url = 'https://bugs.python.org/issue46108'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixes3.11only security fixes3.8 (EOL)end of life3.9 (EOL)end of lifetype-bugAn unexpected behavior, bug, or error
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions