bpo-46841: Use inline caching for attribute accesses by brandtbucher · Pull Request #31640 · python/cpython · GitHub

github.com

Tin mới

brandtbucher:inline-attrs

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

Use inline caching for attribute accesses

Clean things up a bit

Catch up with main

awaiting core review

awaiting core review

View reviewed changes

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

Inline caching faster-cpython/ideas#310

buried deep in asyncio

Marking as DO-NOT-MERGE since LOAD_ATTR_MODULE is somehow causing assertion failures and unclosed resources in test_asyncio:

Apply feedback from code review

Get rid of LOAD_FAST__LOAD_ATTR_INSTANCE_VALUE

awaiting change review

awaiting change review

SIZEOF_UINTPTR_T isn't defined on Windows

🔨 test-with-buildbots

🔨 test-with-buildbots

View reviewed changes

faster-cpython/ideas#291

Discussion: faster-cpython/ideas#291 Issue: https://bugs.python.org/issue46823

Fix version number

bpo-40059: tomllib #31498

bpo-46841: Fix BINARY_OP's handling of inline caches #31671

Inline bytecode caches #90997