Skip to content

Subclassing Enum with ipaddress.IPv4Network/IPv6Network raises TypeError. #87017

@felixxm

Description

@felixxm
mannequin
BPO 42851
Nosy @warsaw, @ethanfurman, @felixxm
PRs
  • bpo-42851: [Enum] remove brittle __init_subclass__ support #24154
  • [3.9] bpo-42851: [Enum] remove brittle __init_subclass__ support (GH-24154) #24155
  • 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 2021-01-08.18:13:45.425>
    created_at = <Date 2021-01-07.06:39:43.166>
    labels = ['3.10', 'library', '3.9', 'type-crash']
    title = 'Subclassing Enum with ipaddress.IPv4Network/IPv6Network raises TypeError.'
    updated_at = <Date 2021-01-08.18:13:45.424>
    user = 'https://github.com/felixxm'

    bugs.python.org fields:

    activity = <Date 2021-01-08.18:13:45.424>
    actor = 'ethan.furman'
    assignee = 'ethan.furman'
    closed = True
    closed_date = <Date 2021-01-08.18:13:45.425>
    closer = 'ethan.furman'
    components = ['Library (Lib)']
    creation = <Date 2021-01-07.06:39:43.166>
    creator = 'felixxm'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 42851
    keywords = ['patch']
    message_count = 5.0
    messages = ['384563', '384591', '384605', '384608', '384639']
    nosy_count = 4.0
    nosy_names = ['barry', 'eli.bendersky', 'ethan.furman', 'felixxm']
    pr_nums = ['24154', '24155']
    priority = 'high'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue42851'
    versions = ['Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixes3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-crashA hard crash of the interpreter, possibly with a core dump

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions