Skip to content

__instancecheck__ being checked on type(cls) instead of cls #89949

Open
@rhettinger

Description

@rhettinger
BPO 45791
Nosy @gvanrossum, @rhettinger, @benjaminp, @serhiy-storchaka, @brandtbucher
PRs
  • gh-89949: Look up __instancecheck__ and __subclasscheck__ in instance #29540
  • 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 = None
    created_at = <Date 2021-11-12.05:01:11.036>
    labels = ['interpreter-core', '3.9', '3.10', '3.11']
    title = '__instancecheck__ being checked on type(cls) instead of cls'
    updated_at = <Date 2021-11-13.15:44:36.246>
    user = 'https://github.com/rhettinger'

    bugs.python.org fields:

    activity = <Date 2021-11-13.15:44:36.246>
    actor = 'brandtbucher'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2021-11-12.05:01:11.036>
    creator = 'rhettinger'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45791
    keywords = ['patch']
    message_count = 11.0
    messages = ['406187', '406191', '406193', '406219', '406222', '406226', '406227', '406229', '406230', '406237', '406245']
    nosy_count = 5.0
    nosy_names = ['gvanrossum', 'rhettinger', 'benjamin.peterson', 'serhiy.storchaka', 'brandtbucher']
    pr_nums = ['29540']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue45791'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only security fixes3.12only security fixes3.13bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions