Skip to content

Able to subclass enum with members by using multiple inheritance #85689

Description

@talsuk5
mannequin
BPO 41517
Nosy @warsaw, @ericvsmith, @stevendaprano, @ethanfurman, @miss-islington, @websurfer5
PRs
  • bpo-41517: do not allow Enums to be extended #22271
  • [3.9] bpo-41517: do not allow Enums to be extended (GH-22271) #22278
  • [3.8] bpo-41517: do not allow Enums to be extended (GH-22271) #22279
  • 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 2020-09-16.14:43:14.465>
    created_at = <Date 2020-08-10.17:47:58.005>
    labels = ['3.8', 'type-bug', 'library', '3.9', '3.10']
    title = 'Able to subclass enum with members by using multiple inheritance'
    updated_at = <Date 2020-09-16.14:43:14.465>
    user = 'https://bugs.python.org/talsuk5'

    bugs.python.org fields:

    activity = <Date 2020-09-16.14:43:14.465>
    actor = 'ethan.furman'
    assignee = 'ethan.furman'
    closed = True
    closed_date = <Date 2020-09-16.14:43:14.465>
    closer = 'ethan.furman'
    components = ['Library (Lib)']
    creation = <Date 2020-08-10.17:47:58.005>
    creator = 'talsuk5'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 41517
    keywords = ['patch']
    message_count = 12.0
    messages = ['375133', '375135', '375139', '375141', '375143', '375145', '375147', '375157', '376921', '376994', '376997', '376998']
    nosy_count = 8.0
    nosy_names = ['barry', 'eric.smith', 'steven.daprano', 'eli.bendersky', 'ethan.furman', 'miss-islington', 'Jeffrey.Kintscher', 'talsuk5']
    pr_nums = ['22271', '22278', '22279']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue41517'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixes3.8 (EOL)end of life3.9 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions