René's URL Explorer Experiment


Title: GH-100987: Don't cache references to the names and consts array in `_PyEval_EvalFrameDefault`. by markshannon · Pull Request #102640 · python/cpython · GitHub

Open Graph Title: GH-100987: Don't cache references to the names and consts array in `_PyEval_EvalFrameDefault`. by markshannon · Pull Request #102640 · python/cpython

X Title: GH-100987: Don't cache references to the names and consts array in `_PyEval_EvalFrameDefault`. by markshannon · Pull Request #102640 · python/cpython

Description: Currently we cache names and consts in the interpreter. This makes looking up names and consts faster, but slows down calls, returns, yields and sends. Removing these values has two benefits: It a...

Open Graph Description: Currently we cache names and consts in the interpreter. This makes looking up names and consts faster, but slows down calls, returns, yields and sends. Removing these values has two benefits: It a...

X Description: Currently we cache names and consts in the interpreter. This makes looking up names and consts faster, but slows down calls, returns, yields and sends. Removing these values has two benefits: It a...

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

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:00caa757-1918-d96e-8aeb-929109e43e22
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDF16:2FF27D:276D88:351376:6969A982
html-safe-noncef08c1ec8300e113107c00ddbf545d7fe524ab1c8d52761faf10d85f50a4eff3d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjE2OjJGRjI3RDoyNzZEODg6MzUxMzc2OjY5NjlBOTgyIiwidmlzaXRvcl9pZCI6IjY1MDg5MTk5NTg0MjU2NzYxNjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3c504a30355c0255850508d466abfc53e5f300258bf736811c8a14e00723805b
hovercard-subject-tagpull_request:1273126747
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/102640/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1a8c3a3be966a65e811d76edc98bf31a0242a49242d404ce35c796a5d0fea6cd/python/cpython/pull/102640
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1a8c3a3be966a65e811d76edc98bf31a0242a49242d404ce35c796a5d0fea6cd/python/cpython/pull/102640
og:image:altCurrently we cache names and consts in the interpreter. This makes looking up names and consts faster, but slows down calls, returns, yields and sends. Removing these values has two benefits: It a...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemarkshannon
hostnamegithub.com
expected-hostnamegithub.com
None24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7
turbo-cache-controlno-preview
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
release124667f43168afb6c9c03b7c02eb5b1d2e1be3d9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/102640#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F102640
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2F102640
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/102640
Reloadhttps://github.com/python/cpython/pull/102640
Reloadhttps://github.com/python/cpython/pull/102640
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/102640
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k 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.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/102640
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 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/102640#issue-comment-box
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
faster-cpython:experimental-no-cache-no-names-and-localshttps://github.com/faster-cpython/cpython/tree/experimental-no-cache-no-names-and-locals
GH-100987: Don't cache references to the names and consts array in _PyEval_EvalFrameDefault. https://github.com/python/cpython/pull/102640#top
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
faster-cpython:experimental-no-cache-no-names-and-localshttps://github.com/faster-cpython/cpython/tree/experimental-no-cache-no-names-and-locals
Conversation 2 https://github.com/python/cpython/pull/102640
Commits 2 https://github.com/python/cpython/pull/102640/commits
Checks 0 https://github.com/python/cpython/pull/102640/checks
Files changed https://github.com/python/cpython/pull/102640/files
Please reload this pagehttps://github.com/python/cpython/pull/102640
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Mar 13, 2023https://github.com/python/cpython/pull/102640#issue-1621302013
Please reload this pagehttps://github.com/python/cpython/pull/102640
Make it easier to traverse the frame stack for third party tools. #100987https://github.com/python/cpython/issues/100987
https://user-images.githubusercontent.com/9448417/224680002-8d167c37-6d6f-4da6-96a9-ff47f30fa8fb.png
Make it easier to traverse the frame stack for third party tools. #100987https://github.com/python/cpython/issues/100987
Please reload this pagehttps://github.com/python/cpython/pull/102640
markshannonhttps://github.com/markshannon
March 9, 2023 23:25https://github.com/python/cpython/pull/102640#commits-pushed-bbb99c1
https://github.com/markshannon
Rename local variables, names and consts, from the interpeter loop. W…https://github.com/python/cpython/pull/102640/commits/bbb99c18e4d857838057679b9a2b4395f497a620
bbb99c1https://github.com/python/cpython/pull/102640/commits/bbb99c18e4d857838057679b9a2b4395f497a620
https://github.com/markshannon
Remove unused dummy variables.https://github.com/python/cpython/pull/102640/commits/8bee1b8e3591b1a7623a813129f5fcf3a7aa7300
8bee1b8https://github.com/python/cpython/pull/102640/commits/8bee1b8e3591b1a7623a813129f5fcf3a7aa7300
https://github.com/markshannon
markshannonhttps://github.com/markshannon
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Mar 13, 2023https://github.com/python/cpython/pull/102640#event-8730623259
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Mar 13, 2023 https://github.com/python/cpython/pull/102640#ref-issue-1530810159
Make it easier to traverse the frame stack for third party tools. #100987 https://github.com/python/cpython/issues/100987
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
Mar 13, 2023https://github.com/python/cpython/pull/102640#event-8730624161
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
Mar 13, 2023 https://github.com/python/cpython/pull/102640#pullrequestreview-1337169222
View reviewed changes https://github.com/python/cpython/pull/102640/files/8bee1b8e3591b1a7623a813129f5fcf3a7aa7300
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Mar 13, 2023https://github.com/python/cpython/pull/102640#event-8732368301
https://github.com/markshannon
markshannonhttps://github.com/markshannon
2d370dahttps://github.com/python/cpython/commit/2d370da5702f07d044f0e612df68172852b89f42
Mar 13, 2023https://github.com/python/cpython/pull/102640#event-8735141342
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Mar 13, 2023https://github.com/python/cpython/pull/102640#event-8735141780
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Mar 13, 2023https://github.com/python/cpython/pull/102640#issuecomment-1466825123
2d370dahttps://github.com/python/cpython/commit/2d370da5702f07d044f0e612df68172852b89f42
the buildbot page in the devguidehttps://devguide.python.org/buildbots/
https://buildbot.python.org/all/#builders/531/builds/3456https://buildbot.python.org/all/#builders/531/builds/3456
2d370dahttps://github.com/python/cpython/commit/2d370da5702f07d044f0e612df68172852b89f42
https://buildbot.python.org/all/#builders/531/builds/3456https://buildbot.python.org/all/#builders/531/builds/3456
Please reload this pagehttps://github.com/python/cpython/pull/102640
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Mar 13, 2023https://github.com/python/cpython/pull/102640#issuecomment-1466828358
2d370dahttps://github.com/python/cpython/commit/2d370da5702f07d044f0e612df68172852b89f42
the buildbot page in the devguidehttps://devguide.python.org/buildbots/
https://buildbot.python.org/all/#builders/336/builds/3017https://buildbot.python.org/all/#builders/336/builds/3017
2d370dahttps://github.com/python/cpython/commit/2d370da5702f07d044f0e612df68172852b89f42
https://buildbot.python.org/all/#builders/336/builds/3017https://buildbot.python.org/all/#builders/336/builds/3017
Please reload this pagehttps://github.com/python/cpython/pull/102640
carljmhttps://github.com/carljm
Mar 14, 2023 https://github.com/python/cpython/pull/102640#ref-commit-6c5f269
https://github.com/carljm
Merge branch 'main' into inlinecomp2https://github.com/carljm/cpython/commit/6c5f269eceb005e4d7fe5de2320d81108cd6ad3c
6c5f269https://github.com/carljm/cpython/commit/6c5f269eceb005e4d7fe5de2320d81108cd6ad3c
pythongh-102674https://github.com/python/cpython/issues/102674
python#102685https://github.com/python/cpython/pull/102685
pythongh-102660https://github.com/python/cpython/issues/102660
pythongh-102661https://github.com/python/cpython/pull/102661
pythongh-102354https://github.com/python/cpython/issues/102354
python#102696https://github.com/python/cpython/pull/102696
pythongh-81057https://github.com/python/cpython/issues/81057
pythongh-102506https://github.com/python/cpython/pull/102506
pythonGH-94851https://github.com/python/cpython/issues/94851
python#102684https://github.com/python/cpython/pull/102684
pythongh-100315https://github.com/python/cpython/issues/100315
python#102621https://github.com/python/cpython/pull/102621
pythonGH-100227https://github.com/python/cpython/issues/100227
python#102682https://github.com/python/cpython/pull/102682
pythongh-102677https://github.com/python/cpython/pull/102677
pythongh-102013https://github.com/python/cpython/issues/102013
python#102014https://github.com/python/cpython/pull/102014
pythonGH-102670https://github.com/python/cpython/issues/102670
pythonGH-102649https://github.com/python/cpython/pull/102649
pythongh-102627https://github.com/python/cpython/issues/102627
python#102630https://github.com/python/cpython/pull/102630
pythongh-98831https://github.com/python/cpython/issues/98831
python#102409https://github.com/python/cpython/pull/102409
pythongh-101659https://github.com/python/cpython/issues/101659
pythongh-102659https://github.com/python/cpython/pull/102659
pythongh-101524https://github.com/python/cpython/issues/101524
pythongh-102655https://github.com/python/cpython/pull/102655
pythongh-102069https://github.com/python/cpython/issues/102069
python#102075https://github.com/python/cpython/pull/102075
pythongh-98169https://github.com/python/cpython/issues/98169
python#98170https://github.com/python/cpython/pull/98170
pythongh-102650https://github.com/python/cpython/issues/102650
python#102651https://github.com/python/cpython/pull/102651
pythonGH-100987https://github.com/python/cpython/issues/100987
python#102640https://github.com/python/cpython/pull/102640
pythongh-87092https://github.com/python/cpython/issues/87092
python#102562https://github.com/python/cpython/pull/102562
pythongh-102192https://github.com/python/cpython/issues/102192
python#102631https://github.com/python/cpython/pull/102631
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Mar 27, 2023 https://github.com/python/cpython/pull/102640#ref-commit-3985abd
https://github.com/markshannon
https://github.com/Fidget-Spinner
pythonGH-100987https://github.com/python/cpython/issues/100987
: Don't cache references to the names and consts array…https://github.com/Fidget-Spinner/cpython/commit/3985abda530a9f1527cf4a3910f5ce7001ada141
3985abdhttps://github.com/Fidget-Spinner/cpython/commit/3985abda530a9f1527cf4a3910f5ce7001ada141
python#102640https://github.com/python/cpython/pull/102640
warsawhttps://github.com/warsaw
Apr 11, 2023 https://github.com/python/cpython/pull/102640#ref-commit-3b2d74c
https://github.com/markshannon
https://github.com/warsaw
pythonGH-100987https://github.com/python/cpython/issues/100987
: Don't cache references to the names and consts array…https://github.com/warsaw/cpython/commit/3b2d74c0ebe04c08c2e3a416f37f088ebb403288
3b2d74chttps://github.com/warsaw/cpython/commit/3b2d74c0ebe04c08c2e3a416f37f088ebb403288
python#102640https://github.com/python/cpython/pull/102640
https://github.com/markshannon
markshannonhttps://github.com/markshannon
September 26, 2023 12:50https://github.com/python/cpython/pull/102640#event-10474798493
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%2F102640
https://github.com/iritkatriel
iritkatriel https://github.com/iritkatriel
https://github.com/python/cpython/pull/102640/files/8bee1b8e3591b1a7623a813129f5fcf3a7aa7300
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/102640
https://github.com/markshannon
https://github.com/bedevere-bot
https://github.com/iritkatriel
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.