Skip to content

Explicitly specify MyClass.__subclasses__() returns classes in definition order #78986

@pekkaklarck

Description

@pekkaklarck
BPO 34805
Nosy @gvanrossum, @rhettinger, @MojoVampire, @pablogsal, @miss-islington, @tirkarthi, @BNMetrics
PRs
  • bpo-34805: Guarantee that __subclasses__() is in definition order. #23844
  • [3.9] bpo-34805: Guarantee that __subclasses__() is in definition order. (GH-23844) #23850
  • 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/rhettinger'
    closed_at = <Date 2020-12-19.01:17:58.448>
    created_at = <Date 2018-09-26.06:18:03.007>
    labels = []
    title = 'Explicitly specify `MyClass.__subclasses__()` returns classes in definition order'
    updated_at = <Date 2020-12-19.01:17:58.447>
    user = 'https://bugs.python.org/pekkaklarck'

    bugs.python.org fields:

    activity = <Date 2020-12-19.01:17:58.447>
    actor = 'rhettinger'
    assignee = 'rhettinger'
    closed = True
    closed_date = <Date 2020-12-19.01:17:58.448>
    closer = 'rhettinger'
    components = []
    creation = <Date 2018-09-26.06:18:03.007>
    creator = 'pekka.klarck'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34805
    keywords = ['patch']
    message_count = 21.0
    messages = ['326420', '327800', '327815', '329389', '329395', '329400', '329402', '329437', '329438', '329439', '329441', '329445', '329446', '329448', '352241', '352242', '352243', '352247', '352254', '383341', '383350']
    nosy_count = 8.0
    nosy_names = ['gvanrossum', 'rhettinger', 'pekka.klarck', 'josh.r', 'pablogsal', 'miss-islington', 'xtreak', 'BNMetrics']
    pr_nums = ['23844', '23850']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue34805'
    versions = []

    Metadata

    Metadata

    Assignees

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions