René's URL Explorer Experiment


Title: bpo-44337: Port LOAD_ATTR to PEP 659 adaptive interpreter by markshannon · Pull Request #26595 · python/cpython · GitHub

Open Graph Title: bpo-44337: Port LOAD_ATTR to PEP 659 adaptive interpreter by markshannon · Pull Request #26595 · python/cpython

X Title: bpo-44337: Port LOAD_ATTR to PEP 659 adaptive interpreter by markshannon · Pull Request #26595 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Implements four specializations of LOAD_ATTR: LOAD_ATTR_SLOT for slots. LOAD_ATTR_SPLIT_KEYS for attributes in instance dictionaries that have split keys. LOAD_ATTR_HINT for attributes in instance...

X Description: Implements four specializations of LOAD_ATTR: LOAD_ATTR_SLOT for slots. LOAD_ATTR_SPLIT_KEYS for attributes in instance dictionaries that have split keys. LOAD_ATTR_HINT for attributes in instance...

Opengraph URL: https://github.com/python/cpython/pull/26595

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:9aa8c479-84b2-d74d-ef33-8e1ad70b8722
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8612:2BB762:5D9E18:7F3777:6A540EE9
html-safe-nonce22ab59024ae2be1d1796d1d86079b83a984f5300bb349fe2462d56d399638d43
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjEyOjJCQjc2Mjo1RDlFMTg6N0YzNzc3OjZBNTQwRUU5IiwidmlzaXRvcl9pZCI6Ijc0NTg5NjkzMTg0NzY0ODQzMzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacaf4baf0a9223e02ff660a80663ac0aa2d6ebc6e0c9efc96bf3f1029f4afa5653
hovercard-subject-tagpull_request:664660351
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/26595/commits
twitter:imagehttps://opengraph.githubassets.com/1a8b5d60360c6ad51d9e8aa9ac7648bd782d175671c78380cb91e8cf5f5ef959/python/cpython/pull/26595
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1a8b5d60360c6ad51d9e8aa9ac7648bd782d175671c78380cb91e8cf5f5ef959/python/cpython/pull/26595
og:image:altImplements four specializations of LOAD_ATTR: LOAD_ATTR_SLOT for slots. LOAD_ATTR_SPLIT_KEYS for attributes in instance dictionaries that have split keys. LOAD_ATTR_HINT for attributes in instance...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemarkshannon
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/26595/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F26595%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F26595%2Fcommits
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/26595/commits
Reloadhttps://github.com/python/cpython/pull/26595/commits
Reloadhttps://github.com/python/cpython/pull/26595/commits
Please reload this pagehttps://github.com/python/cpython/pull/26595/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/26595/commits
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
faster-cpython:specialize-load-attrhttps://github.com/faster-cpython/cpython/tree/specialize-load-attr
Conversationhttps://github.com/python/cpython/pull/26595
Commits17 (17)https://github.com/python/cpython/pull/26595/commits
Checkshttps://github.com/python/cpython/pull/26595/checks
Files changedhttps://github.com/python/cpython/pull/26595/files
bpo-44337: Port LOAD_ATTR to PEP 659 adaptive interpreterhttps://github.com/python/cpython/pull/26595/commits#top
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
faster-cpython:specialize-load-attrhttps://github.com/faster-cpython/cpython/tree/specialize-load-attr
Specialize LOAD_ATTR with LOAD_ATTR_SLOT and LOAD_ATTR_SPLIT_KEYShttps://github.com/python/cpython/pull/26595/commits/8db0653950309a2b911972acd4f025c0d5e90a78
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
8db0653https://github.com/python/cpython/pull/26595/commits/8db0653950309a2b911972acd4f025c0d5e90a78
https://github.com/python/cpython/tree/8db0653950309a2b911972acd4f025c0d5e90a78
Move dict-common.h to internal/pycore_dict.hhttps://github.com/python/cpython/pull/26595/commits/35522bcf8c4f443373df34a2038c32142ec80daf
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
35522bchttps://github.com/python/cpython/pull/26595/commits/35522bcf8c4f443373df34a2038c32142ec80daf
https://github.com/python/cpython/tree/35522bcf8c4f443373df34a2038c32142ec80daf
Add LOAD_ATTR_COMBINED_KEYS specialized opcode.https://github.com/python/cpython/pull/26595/commits/3ca2c7c6c65c01451170a5c79a8c49d9d5f42b9e
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
3ca2c7chttps://github.com/python/cpython/pull/26595/commits/3ca2c7c6c65c01451170a5c79a8c49d9d5f42b9e
https://github.com/python/cpython/tree/3ca2c7c6c65c01451170a5c79a8c49d9d5f42b9e
Quicken in function if loopyhttps://github.com/python/cpython/pull/26595/commits/3d50df3cf0d16291b370afd38b99e70899e15870
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
3d50df3https://github.com/python/cpython/pull/26595/commits/3d50df3cf0d16291b370afd38b99e70899e15870
https://github.com/python/cpython/tree/3d50df3cf0d16291b370afd38b99e70899e15870
Specialize LOAD_ATTR for module attributes.https://github.com/python/cpython/pull/26595/commits/85dd177788d96dc28a229d28695f79e9626c2a3c
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
85dd177https://github.com/python/cpython/pull/26595/commits/85dd177788d96dc28a229d28695f79e9626c2a3c
https://github.com/python/cpython/tree/85dd177788d96dc28a229d28695f79e9626c2a3c
Set dict version to zero before setting indexhttps://github.com/python/cpython/pull/26595/commits/e54f76bf31dff759dbcd3b785477c41408676907
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
e54f76bhttps://github.com/python/cpython/pull/26595/commits/e54f76bf31dff759dbcd3b785477c41408676907
https://github.com/python/cpython/tree/e54f76bf31dff759dbcd3b785477c41408676907
Don't crash if module has no dictionaryhttps://github.com/python/cpython/pull/26595/commits/eb08f919074726b565d9bc1a190442a8c3588750
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
eb08f91https://github.com/python/cpython/pull/26595/commits/eb08f919074726b565d9bc1a190442a8c3588750
https://github.com/python/cpython/tree/eb08f919074726b565d9bc1a190442a8c3588750
Rename LOAD_ATTR_COMBINED_KEYS to LOAD_ATTR_WITH_HINT. Add NEWS item.https://github.com/python/cpython/pull/26595/commits/a03abb353ed2b03c65e287b662fb526a8e433a0f
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
a03abb3https://github.com/python/cpython/pull/26595/commits/a03abb353ed2b03c65e287b662fb526a8e433a0f
https://github.com/python/cpython/tree/a03abb353ed2b03c65e287b662fb526a8e433a0f
Fix name and use wider cache slot.https://github.com/python/cpython/pull/26595/commits/10799646c86f9cd5014056d9cb7f3fc437fc7843
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
1079964https://github.com/python/cpython/pull/26595/commits/10799646c86f9cd5014056d9cb7f3fc437fc7843
https://github.com/python/cpython/tree/10799646c86f9cd5014056d9cb7f3fc437fc7843
Remove rebase artifacthttps://github.com/python/cpython/pull/26595/commits/d2e09408620c77e8afa063fcfe2914ed064d961a
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
d2e0940https://github.com/python/cpython/pull/26595/commits/d2e09408620c77e8afa063fcfe2914ed064d961a
https://github.com/python/cpython/tree/d2e09408620c77e8afa063fcfe2914ed064d961a
Use specialization statshttps://github.com/python/cpython/pull/26595/commits/d8909438f8a6a82c61db6e384b90d17b434cc2c5
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
d890943https://github.com/python/cpython/pull/26595/commits/d8909438f8a6a82c61db6e384b90d17b434cc2c5
https://github.com/python/cpython/tree/d8909438f8a6a82c61db6e384b90d17b434cc2c5
Use _PyDict_GetItemHint instead of _Py_dict_lookup to determine index in dictionary when specializing.https://github.com/python/cpython/pull/26595/commits/f9e999ccbba871a5998fcb3c9fea4a5c0b679ba5
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
f9e999chttps://github.com/python/cpython/pull/26595/commits/f9e999ccbba871a5998fcb3c9fea4a5c0b679ba5
https://github.com/python/cpython/tree/f9e999ccbba871a5998fcb3c9fea4a5c0b679ba5
Assert that address is in bounds (ASAN thinks it might not be).https://github.com/python/cpython/pull/26595/commits/e858ea15718709bc8ec3c13bd8451ff7d62cbe80
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
e858ea1https://github.com/python/cpython/pull/26595/commits/e858ea15718709bc8ec3c13bd8451ff7d62cbe80
https://github.com/python/cpython/tree/e858ea15718709bc8ec3c13bd8451ff7d62cbe80
Fix off by one errorhttps://github.com/python/cpython/pull/26595/commits/a0ed9e2b0387137bd8d124f7d7cd83e34dad2606
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
a0ed9e2https://github.com/python/cpython/pull/26595/commits/a0ed9e2b0387137bd8d124f7d7cd83e34dad2606
https://github.com/python/cpython/tree/a0ed9e2b0387137bd8d124f7d7cd83e34dad2606
Fix compiler warnings and check slot offset can be stored in index fieldhttps://github.com/python/cpython/pull/26595/commits/b07f219a01c1a37e122af997bfed27d355d8442d
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
b07f219https://github.com/python/cpython/pull/26595/commits/b07f219a01c1a37e122af997bfed27d355d8442d
https://github.com/python/cpython/tree/b07f219a01c1a37e122af997bfed27d355d8442d
Merge branch 'main' into specialize-load-attrhttps://github.com/python/cpython/pull/26595/commits/6d9ef8dd9c466a6606fe1016efa815d3d2d93337
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
6d9ef8dhttps://github.com/python/cpython/pull/26595/commits/6d9ef8dd9c466a6606fe1016efa815d3d2d93337
https://github.com/python/cpython/tree/6d9ef8dd9c466a6606fe1016efa815d3d2d93337
Merge branch 'main' into specialize-load-attrhttps://github.com/python/cpython/pull/26595/commits/41cb98f9e41a72da825aff64a235c2563180ecbc
https://github.com/markshannon
markshannonhttps://github.com/python/cpython/commits?author=markshannon
41cb98fhttps://github.com/python/cpython/pull/26595/commits/41cb98f9e41a72da825aff64a235c2563180ecbc
https://github.com/python/cpython/tree/41cb98f9e41a72da825aff64a235c2563180ecbc
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.