Skip to content

abc module fails to reject instantiation of some multiply-inheriting classes that fail to implement abstract methods #72723

Description

@nathanielmanistaatgoogle
BPO 28537
Nosy @aleaxit, @bitdancer, @nathanielmanistaatgoogle
Superseder
  • bpo-5996: abstract class instantiable when subclassing built-in types
  • Files
  • abc_what.py
  • 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 = None
    closed_at = <Date 2016-10-26.00:44:33.168>
    created_at = <Date 2016-10-25.23:42:42.012>
    labels = ['3.7', 'type-bug', 'library']
    title = 'abc module fails to reject instantiation of some multiply-inheriting classes that fail to implement abstract methods'
    updated_at = <Date 2016-10-26.00:44:33.166>
    user = 'https://github.com/nathanielmanistaatgoogle'

    bugs.python.org fields:

    activity = <Date 2016-10-26.00:44:33.166>
    actor = 'r.david.murray'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-10-26.00:44:33.168>
    closer = 'r.david.murray'
    components = ['Library (Lib)']
    creation = <Date 2016-10-25.23:42:42.012>
    creator = 'Nathaniel Manista'
    dependencies = []
    files = ['45226']
    hgrepos = []
    issue_num = 28537
    keywords = []
    message_count = 2.0
    messages = ['279465', '279473']
    nosy_count = 4.0
    nosy_names = ['aleax', 'r.david.murray', 'cvrebert', 'Nathaniel Manista']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '5996'
    type = 'behavior'
    url = 'https://bugs.python.org/issue28537'
    versions = ['Python 2.7', 'Python 3.3', 'Python 3.4', 'Python 3.5', 'Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (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