Skip to content

Fix data descriptor detection in inspect.getattr_static #75367

Closed
@davidhalter

Description

@davidhalter
BPO 31184
Nosy @rhettinger, @serhiy-storchaka
Superseder
  • bpo-26103: Contradiction in definition of "data descriptor" between (dotted lookup behavior/datamodel documentation) and (inspect lib/descriptor how-to)
  • Files
  • 0001-Fix-data-descriptor-detection-in-inspect.getattr_sta.patch: Potential patch that fixes the issue
  • 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 2017-08-11.16:22:11.131>
    labels = ['type-bug', 'library', '3.11']
    title = 'Fix data descriptor detection in inspect.getattr_static'
    updated_at = <Date 2021-12-08.04:22:58.232>
    user = 'https://bugs.python.org/davidhalter'

    bugs.python.org fields:

    activity = <Date 2021-12-08.04:22:58.232>
    actor = 'rhettinger'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2017-08-11.16:22:11.131>
    creator = 'davidhalter'
    dependencies = []
    files = ['47078']
    hgrepos = []
    issue_num = 31184
    keywords = ['patch']
    message_count = 4.0
    messages = ['300170', '300173', '407976', '407985']
    nosy_count = 3.0
    nosy_names = ['rhettinger', 'serhiy.storchaka', 'davidhalter']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'resolved'
    status = 'open'
    superseder = '26103'
    type = 'behavior'
    url = 'https://bugs.python.org/issue31184'
    versions = ['Python 3.11']

    Linked PRs

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only security fixesstdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions