René's URL Explorer Experiment


Title: bpo-44338: Port LOAD_GLOBAL to PEP 659 adaptive interpreter by markshannon · Pull Request #26638 · python/cpython · GitHub

Open Graph Title: bpo-44338: Port LOAD_GLOBAL to PEP 659 adaptive interpreter by markshannon · Pull Request #26638 · python/cpython

X Title: bpo-44338: Port LOAD_GLOBAL to PEP 659 adaptive interpreter by markshannon · Pull Request #26638 · python/cpython

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

Open Graph Description: Adds two specializations of LOAD_GLOBAL: LOAD_GLOBAL_MODULE for module variables LOAD_GLOBAL_BUILTIN for builtins. Removes the old "opcache" mechanism. Adds a few more stats (hidden...

X Description: Adds two specializations of LOAD_GLOBAL: LOAD_GLOBAL_MODULE for module variables LOAD_GLOBAL_BUILTIN for builtins. Removes the old "opcache" mechanism. Adds a few more stats...

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

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:6c5d4331-e645-b900-598b-f8401d4ffe6e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id98EE:2FCF6D:63DC9B:8FF685:6A548EA3
html-safe-nonce04e2a4601e646c9e95330808ed2442215be5de938b87feeebab7922dd10115ff
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OEVFOjJGQ0Y2RDo2M0RDOUI6OEZGNjg1OjZBNTQ4RUEzIiwidmlzaXRvcl9pZCI6IjIwMjA4OTc1MzYzNzg1MDc4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8ebe5e12ae77d247ad4a1c37d584f0973474f35ab95fce039e3b501426eac7be
hovercard-subject-tagpull_request:666679699
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/26638/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ce7b5f344cb94a03f7f1c26841d38d1f54b7ae9bf21401b16375a4ccda32db59/python/cpython/pull/26638
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ce7b5f344cb94a03f7f1c26841d38d1f54b7ae9bf21401b16375a4ccda32db59/python/cpython/pull/26638
og:image:altAdds two specializations of LOAD_GLOBAL: LOAD_GLOBAL_MODULE for module variables LOAD_GLOBAL_BUILTIN for builtins. Removes the old "opcache" mechanism. Adds a few more stats (hidden...
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
releasef8cfff6384f62259baea531c7f58bc7040f8dd92
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/26638#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F26638
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%2F26638
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/26638
Reloadhttps://github.com/python/cpython/pull/26638
Reloadhttps://github.com/python/cpython/pull/26638
Please reload this pagehttps://github.com/python/cpython/pull/26638
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/26638
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-globalhttps://github.com/faster-cpython/cpython/tree/specialize-load-global
Conversationhttps://github.com/python/cpython/pull/26638
Commits11 (11)https://github.com/python/cpython/pull/26638/commits
Checkshttps://github.com/python/cpython/pull/26638/checks
Files changedhttps://github.com/python/cpython/pull/26638/files
bpo-44338: Port LOAD_GLOBAL to PEP 659 adaptive interpreterhttps://github.com/python/cpython/pull/26638#top
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
faster-cpython:specialize-load-globalhttps://github.com/faster-cpython/cpython/tree/specialize-load-global
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Jun 10, 2021https://github.com/python/cpython/pull/26638#issue-917099887
Please reload this pagehttps://github.com/python/cpython/pull/26638
https://bugs.python.org/issue44338https://bugs.python.org/issue44338
Please reload this pagehttps://github.com/python/cpython/pull/26638
markshannonhttps://github.com/markshannon
June 10, 2021 08:48https://github.com/python/cpython/pull/26638#commits-pushed-6e57707
https://github.com/markshannon
Add specializations of LOAD_GLOBAL.https://github.com/python/cpython/pull/26638/commits/6e57707f51ab5779f9f4142ef1765126a6c19033
6e57707https://github.com/python/cpython/pull/26638/commits/6e57707f51ab5779f9f4142ef1765126a6c19033
https://github.com/markshannon
Add more stats.https://github.com/python/cpython/pull/26638/commits/b970dfc98accb760c13ef48095c7f5348f834e7b
b970dfchttps://github.com/python/cpython/pull/26638/commits/b970dfc98accb760c13ef48095c7f5348f834e7b
https://github.com/markshannon
Remove old opcache; it is no longer used.https://github.com/python/cpython/pull/26638/commits/2b7aad15891e2d0a90549732f2e3fc8a7f30faf3
2b7aad1https://github.com/python/cpython/pull/26638/commits/2b7aad15891e2d0a90549732f2e3fc8a7f30faf3
https://github.com/markshannon
Use _PyDict_GetItemHint instead of _Py_dict_lookuphttps://github.com/python/cpython/pull/26638/commits/20daa07e62e5f681ea416d0a62929fae148eb2c1
20daa07https://github.com/python/cpython/pull/26638/commits/20daa07e62e5f681ea416d0a62929fae148eb2c1
https://github.com/markshannon
Check globals version as well as builtinshttps://github.com/python/cpython/pull/26638/commits/704d2170a60096a9784aee0c0ac3d5e36b094035
704d217https://github.com/python/cpython/pull/26638/commits/704d2170a60096a9784aee0c0ac3d5e36b094035
https://github.com/markshannon
Correctly round sizeof() for code object.https://github.com/python/cpython/pull/26638/commits/a7746e0499a9cb4b9ce97aebcc3cd157791f0737
a7746e0https://github.com/python/cpython/pull/26638/commits/a7746e0499a9cb4b9ce97aebcc3cd157791f0737
https://github.com/the-knights-who-say-ni
the-knights-who-say-nihttps://github.com/the-knights-who-say-ni
CLA signed https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22CLA%20signed%22
Jun 10, 2021https://github.com/python/cpython/pull/26638#event-4870027470
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jun 10, 2021https://github.com/python/cpython/pull/26638#event-4870027577
https://github.com/markshannon
Add NEWShttps://github.com/python/cpython/pull/26638/commits/8ad3e55f5673f6bdefe58587335c21885cd68ed1
8ad3e55https://github.com/python/cpython/pull/26638/commits/8ad3e55f5673f6bdefe58587335c21885cd68ed1
https://github.com/markshannon
markshannonhttps://github.com/markshannon
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
Jun 10, 2021https://github.com/python/cpython/pull/26638#event-4870297756
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Jun 10, 2021https://github.com/python/cpython/pull/26638#issuecomment-858482257
@markshannonhttps://github.com/markshannon
8ad3e55https://github.com/python/cpython/commit/8ad3e55f5673f6bdefe58587335c21885cd68ed1
Please reload this pagehttps://github.com/python/cpython/pull/26638
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
🔨 test-with-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-buildbots%22
Jun 10, 2021https://github.com/python/cpython/pull/26638#event-4870297931
https://github.com/ericsnowcurrently
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Jun 10, 2021 https://github.com/python/cpython/pull/26638#pullrequestreview-681089482
View reviewed changes https://github.com/python/cpython/pull/26638/files/8ad3e55f5673f6bdefe58587335c21885cd68ed1
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
https://github.com/python/cpython/pull/26638#pullrequestreview-681089482
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/26638
Python/ceval.chttps://github.com/python/cpython/pull/26638/files/8ad3e55f5673f6bdefe58587335c21885cd68ed1#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
Please reload this pagehttps://github.com/python/cpython/pull/26638
Python/ceval.chttps://github.com/python/cpython/pull/26638/files/8ad3e55f5673f6bdefe58587335c21885cd68ed1#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Jun 10, 2021https://github.com/python/cpython/pull/26638#discussion_r649405328
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/26638
Python/ceval.chttps://github.com/python/cpython/pull/26638/files/8ad3e55f5673f6bdefe58587335c21885cd68ed1#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
Please reload this pagehttps://github.com/python/cpython/pull/26638
Python/specialize.chttps://github.com/python/cpython/pull/26638/files/8ad3e55f5673f6bdefe58587335c21885cd68ed1#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Jun 10, 2021https://github.com/python/cpython/pull/26638#discussion_r649409616
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/26638
markshannonhttps://github.com/markshannon
Jun 11, 2021https://github.com/python/cpython/pull/26638#discussion_r649836497
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/26638
Python/ceval.chttps://github.com/python/cpython/pull/26638/files/8ad3e55f5673f6bdefe58587335c21885cd68ed1#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
Please reload this pagehttps://github.com/python/cpython/pull/26638
Python/ceval.chttps://github.com/python/cpython/pull/26638/files/8ad3e55f5673f6bdefe58587335c21885cd68ed1#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
Jun 10, 2021https://github.com/python/cpython/pull/26638#discussion_r649467174
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/26638
markshannonhttps://github.com/markshannon
Jun 11, 2021https://github.com/python/cpython/pull/26638#discussion_r649843805
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/26638
Python/ceval.chttps://github.com/python/cpython/pull/26638/files/8ad3e55f5673f6bdefe58587335c21885cd68ed1#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de
Please reload this pagehttps://github.com/python/cpython/pull/26638
Python/specialize.chttps://github.com/python/cpython/pull/26638/files/8ad3e55f5673f6bdefe58587335c21885cd68ed1#diff-22e653d878778ca28317261f7826545288d02fd9980cf485d0329f28a34993f2
Please reload this pagehttps://github.com/python/cpython/pull/26638
markshannonhttps://github.com/markshannon
June 11, 2021 11:38https://github.com/python/cpython/pull/26638#commits-pushed-aec7872
https://github.com/markshannon
Remove some code duplication and fix up stats printing.https://github.com/python/cpython/pull/26638/commits/aec787278ed7d1a88880ac4a8ffd0435df63a396
aec7872https://github.com/python/cpython/pull/26638/commits/aec787278ed7d1a88880ac4a8ffd0435df63a396
https://github.com/markshannon
Add casts and comment on which type of cache entries are used.https://github.com/python/cpython/pull/26638/commits/b4431be2521ede0d2bd1701bd61f2c1654aee572
b4431behttps://github.com/python/cpython/pull/26638/commits/b4431be2521ede0d2bd1701bd61f2c1654aee572
https://github.com/markshannon
Fix a couple of copy and paste errorshttps://github.com/python/cpython/pull/26638/commits/f043576ed38ddecd6c0d3e909a124d10a9877fdc
f043576https://github.com/python/cpython/pull/26638/commits/f043576ed38ddecd6c0d3e909a124d10a9877fdc
https://github.com/markshannon
Merge branch 'main' into specialize-load-globalhttps://github.com/python/cpython/pull/26638/commits/72a7bccdf3e1a6c57d57eb71e1f04180fca0366b
72a7bcchttps://github.com/python/cpython/pull/26638/commits/72a7bccdf3e1a6c57d57eb71e1f04180fca0366b
https://github.com/markshannon
markshannonhttps://github.com/markshannon
eecbc7chttps://github.com/python/cpython/commit/eecbc7c3900a7f40d8498b151db543a202c72f74
Jun 14, 2021https://github.com/python/cpython/pull/26638#event-4884687287
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jun 14, 2021https://github.com/python/cpython/pull/26638#event-4884687462
jdevries3133https://github.com/jdevries3133
Jun 19, 2021 https://github.com/python/cpython/pull/26638#ref-commit-0208b06
https://github.com/markshannon
https://github.com/jdevries3133
bpo-44338: Port LOAD_GLOBAL to PEP 659 adaptive interpreter (https://github.com/jdevries3133/cpython/commit/0208b06e7b90d39adcf817f0e8a394e73f3d579e
pythonGH…https://github.com/python/cpython/pull/26638
0208b06https://github.com/jdevries3133/cpython/commit/0208b06e7b90d39adcf817f0e8a394e73f3d579e
…-26638https://github.com/python/cpython/pull/26638
https://github.com/markshannon
markshannonhttps://github.com/markshannon
January 6, 2022 15:27https://github.com/python/cpython/pull/26638#event-5852892392
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F26638
https://github.com/ericsnowcurrently
ericsnowcurrently https://github.com/ericsnowcurrently
https://github.com/python/cpython/pull/26638/files/8ad3e55f5673f6bdefe58587335c21885cd68ed1
Please reload this pagehttps://github.com/python/cpython/pull/26638
https://github.com/markshannon
https://github.com/bedevere-bot
https://github.com/ericsnowcurrently
https://github.com/the-knights-who-say-ni
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.