Skip to content

Speed up and clean up getting optional attributes in C code #76752

Closed
@serhiy-storchaka

Description

@serhiy-storchaka
BPO 32571
Nosy @vstinner, @njsmith, @methane, @serhiy-storchaka, @1st1
PRs
  • bpo-32571: Avoid raising unneeded AttributeError and silencing it C code. #5205
  • bpo-32571: Avoid raising unneeded AttributeError and silencing it in C code (alt). #5222
  • bpo-32571: Fix reading uninitialized memory. #5332
  • 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 2018-01-26.20:08:05.868>
    created_at = <Date 2018-01-16.18:18:05.797>
    labels = ['extension-modules', 'interpreter-core', '3.7', 'performance']
    title = 'Speed up and clean up getting optional attributes in C code'
    updated_at = <Date 2018-01-26.20:08:05.866>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2018-01-26.20:08:05.866>
    actor = 'yselivanov'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-01-26.20:08:05.868>
    closer = 'yselivanov'
    components = ['Extension Modules', 'Interpreter Core']
    creation = <Date 2018-01-16.18:18:05.797>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32571
    keywords = ['patch']
    message_count = 8.0
    messages = ['310101', '310153', '310199', '310200', '310204', '310665', '310746', '310787']
    nosy_count = 5.0
    nosy_names = ['vstinner', 'njs', 'methane', 'serhiy.storchaka', 'yselivanov']
    pr_nums = ['5205', '5222', '5332']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue32571'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifeextension-modulesC modules in the Modules dirinterpreter-core(Objects, Python, Grammar, and Parser dirs)performancePerformance or resource usage

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions