← 返回首页
Merge `LOAD_METHOD` back into `LOAD_ATTR` for better specialization · Issue #93429 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Merge LOAD_METHOD back into LOAD_ATTR for better specialization #93429

New issue
New issue

Description

LOAD_METHOD split off from LOAD_ATTR in 3.7 as a compiler based optimisation.

I proposed to merge it back to enable better specialization. The actual LOAD_METHOD instruction is left around as a virtual instruction at the moment.

See faster-cpython/ideas#400 (reply in thread)

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.12only security fixesperformancePerformance or resource usagetype-featureA feature request or enhancement

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    • Open in GitHub Copilot app

    Footer

    © 2026 GitHub, Inc.