Skip to content

__init_subclass__ causes TypeError when used with standard library metaclasses (such as ABCMeta) #73767

@NateSoares

Description

@NateSoares
BPO 29581
Nosy @ncoghlan, @ambv, @tecki, @ilevkivskyi, @Mariatta
PRs
  • bpo-29581: Make ABCMeta.__new__ pass **kwargs to type.__new__ #527
  • [3.6] bpo-29581: Make __init_subclass__ work on ABCMeta type classes #1282
  • 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 2017-06-16.08:17:14.953>
    created_at = <Date 2017-02-16.18:54:07.670>
    labels = ['type-bug', '3.7']
    title = '__init_subclass__ causes TypeError when used with standard library metaclasses (such as ABCMeta)'
    updated_at = <Date 2017-06-16.08:17:14.951>
    user = 'https://bugs.python.org/NateSoares'

    bugs.python.org fields:

    activity = <Date 2017-06-16.08:17:14.951>
    actor = 'ncoghlan'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-06-16.08:17:14.953>
    closer = 'ncoghlan'
    components = []
    creation = <Date 2017-02-16.18:54:07.670>
    creator = 'Nate Soares'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 29581
    keywords = []
    message_count = 9.0
    messages = ['287966', '288119', '288255', '288450', '288451', '288453', '290179', '295312', '296165']
    nosy_count = 7.0
    nosy_names = ['ncoghlan', 'lukasz.langa', 'Martin.Teichmann', 'levkivskyi', 'Kevin Shweh', 'Mariatta', 'Nate Soares']
    pr_nums = ['527', '1282']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue29581'
    versions = ['Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifetype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions