Skip to content

LOAD_ATTR cache does not fully replicate PyObject_GetAttr behavior #86432

@KevinModzelewski

Description

@KevinModzelewski
BPO 42266
Nosy @pmp-p, @1st1, @pablogsal, @Jongy
PRs
  • bpo-42266: Handle monkey-patching descriptors in LOAD_ATTR cache #23157
  • Files
  • test.py: Test case with unexpected opcache behavior
  • 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 2020-11-05.09:23:52.835>
    created_at = <Date 2020-11-04.21:56:10.288>
    labels = ['interpreter-core', 'type-bug', '3.10']
    title = 'LOAD_ATTR cache does not fully replicate PyObject_GetAttr behavior'
    updated_at = <Date 2020-11-05.09:23:52.835>
    user = 'https://bugs.python.org/KevinModzelewski'

    bugs.python.org fields:

    activity = <Date 2020-11-05.09:23:52.835>
    actor = 'pablogsal'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-11-05.09:23:52.835>
    closer = 'pablogsal'
    components = ['Interpreter Core']
    creation = <Date 2020-11-04.21:56:10.288>
    creator = 'Kevin Modzelewski'
    dependencies = []
    files = ['49568']
    hgrepos = []
    issue_num = 42266
    keywords = ['patch']
    message_count = 7.0
    messages = ['380370', '380374', '380375', '380376', '380378', '380379', '380399']
    nosy_count = 5.0
    nosy_names = ['pmpp', 'yselivanov', 'Kevin Modzelewski', 'pablogsal', 'Yonatan Goldschmidt']
    pr_nums = ['23157']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue42266'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only 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