Skip to content

classmethod does not pass "type/owner" when invoking wrapped __get__ #86239

@eriknw

Description

@eriknw
mannequin
BPO 42073
Nosy @rhettinger, @ambv, @berkerpeksag, @serhiy-storchaka, @eriknw, @miss-islington
PRs
  • [3.9] bpo-42073: allow classmethod to wrap other classmethod-like descriptors. #22757
  • bpo-42073: allow classmethod to wrap other classmethod-like descriptors #27115
  • [3.10] bpo-42073: allow classmethod to wrap other classmethod-like descriptors (GH-27115) #27162
  • 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 2021-07-15.10:53:50.542>
    created_at = <Date 2020-10-18.20:22:44.119>
    labels = ['interpreter-core', 'type-bug', '3.10', '3.11']
    title = 'classmethod does not pass "type/owner" when invoking wrapped __get__'
    updated_at = <Date 2021-07-15.13:42:15.372>
    user = 'https://github.com/eriknw'

    bugs.python.org fields:

    activity = <Date 2021-07-15.13:42:15.372>
    actor = 'lukasz.langa'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-07-15.10:53:50.542>
    closer = 'lukasz.langa'
    components = ['Interpreter Core']
    creation = <Date 2020-10-18.20:22:44.119>
    creator = 'eriknw'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 42073
    keywords = ['patch']
    message_count = 4.0
    messages = ['378893', '397538', '397548', '397552']
    nosy_count = 6.0
    nosy_names = ['rhettinger', 'lukasz.langa', 'berker.peksag', 'serhiy.storchaka', 'eriknw', 'miss-islington']
    pr_nums = ['22757', '27115', '27162']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue42073'
    versions = ['Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions