René's URL Explorer Experiment


Title: gh-123923: Defer refcounting for `f_executable` in `_PyInterpreterFrame` by colesbury · Pull Request #123924 · python/cpython · GitHub

Open Graph Title: gh-123923: Defer refcounting for `f_executable` in `_PyInterpreterFrame` by colesbury · Pull Request #123924 · python/cpython

X Title: gh-123923: Defer refcounting for `f_executable` in `_PyInterpreterFrame` by colesbury · Pull Request #123924 · python/cpython

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

Open Graph Description: Use a _PyStackRef and defer the reference to f_executable when possible. This avoids some reference count contention in the common case of executing the same code object from multiple threads concu...

X Description: Use a _PyStackRef and defer the reference to f_executable when possible. This avoids some reference count contention in the common case of executing the same code object from multiple threads concu...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:3e5d679e-b06b-9bd0-d236-b2737bb504b2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA688:6B7DC:D21598:10A62CD:6B0232F5
html-safe-nonce594f70c9a4d91b8fe17527408d33840c4c744b900aa383ab594effbf8fe5731b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjg4OjZCN0RDOkQyMTU5ODoxMEE2MkNEOjZCMDIzMkY1IiwidmlzaXRvcl9pZCI6IjcyMzE2NDczODk2ODQyMTY1NjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac99937657a3e6b0f3c97ecda034671391fbcc5a62bf0219e7330541527acd4a49
hovercard-subject-tagpull_request:2064497267
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/123924/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/bcb9973ad279cbd1456f3e83d6fa16c51d4db7a6d29e47dc3f5f4ce1b4f7a2b0/python/cpython/pull/123924
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bcb9973ad279cbd1456f3e83d6fa16c51d4db7a6d29e47dc3f5f4ce1b4f7a2b0/python/cpython/pull/123924
og:image:altUse a _PyStackRef and defer the reference to f_executable when possible. This avoids some reference count contention in the common case of executing the same code object from multiple threads concu...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecolesbury
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/123924#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F123924
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F123924
Sign uphttps://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/123924
Reloadhttps://github.com/python/cpython/pull/123924
Reloadhttps://github.com/python/cpython/pull/123924
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
colesburyhttps://github.com/colesbury
python:mainhttps://github.com/python/cpython/tree/main
colesbury:gh-123923-frame-executablehttps://github.com/colesbury/cpython/tree/gh-123923-frame-executable
Conversationhttps://github.com/python/cpython/pull/123924
Commits3 (3)https://github.com/python/cpython/pull/123924/commits
Checkshttps://github.com/python/cpython/pull/123924/checks
Files changedhttps://github.com/python/cpython/pull/123924/files
gh-123923: Defer refcounting for f_executable in _PyInterpreterFramehttps://github.com/python/cpython/pull/123924#top
colesburyhttps://github.com/colesbury
python:mainhttps://github.com/python/cpython/tree/main
colesbury:gh-123923-frame-executablehttps://github.com/colesbury/cpython/tree/gh-123923-frame-executable
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Sep 10, 2024https://github.com/python/cpython/pull/123924#issue-2517740789
Please reload this pagehttps://github.com/python/cpython/pull/123924
Use deferred reference counting in some _PyInterpreterFrame fields #123923https://github.com/python/cpython/issues/123923
Please reload this pagehttps://github.com/python/cpython/pull/123924
https://github.com/colesbury
pythongh-123923https://github.com/python/cpython/issues/123923
: Defer refcounting forhttps://github.com/python/cpython/pull/123924/commits/24e9b4b6d437b6c6ec7b962b36c19441bcc32e4b
f_executablehttps://github.com/python/cpython/pull/123924/commits/24e9b4b6d437b6c6ec7b962b36c19441bcc32e4b
in `_PyInterpre…https://github.com/python/cpython/pull/123924/commits/24e9b4b6d437b6c6ec7b962b36c19441bcc32e4b
24e9b4bhttps://github.com/python/cpython/pull/123924/commits/24e9b4b6d437b6c6ec7b962b36c19441bcc32e4b
https://github.com/colesbury
colesburyhttps://github.com/colesbury
topic-free-threading https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-free-threading
Sep 10, 2024https://github.com/python/cpython/pull/123924#event-14205427355
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Sep 10, 2024 https://github.com/python/cpython/pull/123924#ref-issue-2517689589
Use deferred reference counting in some _PyInterpreterFrame fields #123923 https://github.com/python/cpython/issues/123923
https://github.com/colesbury
Fix compile error in executor_cases.c.hhttps://github.com/python/cpython/pull/123924/commits/9e7691a81e3ab7f5cc9dd31c50b1960cdebaba27
9e7691ahttps://github.com/python/cpython/pull/123924/commits/9e7691a81e3ab7f5cc9dd31c50b1960cdebaba27
https://github.com/graingert
graingerthttps://github.com/graingert
Sep 10, 2024 https://github.com/python/cpython/pull/123924#pullrequestreview-2293741870
View reviewed changes https://github.com/python/cpython/pull/123924/files/9e7691a81e3ab7f5cc9dd31c50b1960cdebaba27
Lib/test/test_generators.pyhttps://github.com/python/cpython/pull/123924/files/9e7691a81e3ab7f5cc9dd31c50b1960cdebaba27#diff-885d4a7a1816281a78b69ca46cc2b8fa73060bdf5d55cbc54cdebb3d7aa90a52
Please reload this pagehttps://github.com/python/cpython/pull/123924
https://github.com/colesbury
colesburyhttps://github.com/colesbury
September 10, 2024 23:34https://github.com/python/cpython/pull/123924#event-14207387679
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Fidget-Spinnerhttps://github.com/Fidget-Spinner
markshannonhttps://github.com/markshannon
code ownershttps://github.com/python/cpython/blob/00ffdf27367fb9aef247644a96f1a9ffb5be1efe/.github/CODEOWNERS#L75
September 10, 2024 23:34https://github.com/python/cpython/pull/123924#event-14207387719
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Sep 10, 2024https://github.com/python/cpython/pull/123924#event-14207388001
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Sep 11, 2024 https://github.com/python/cpython/pull/123924#pullrequestreview-2296513485
View reviewed changes https://github.com/python/cpython/pull/123924/files/9e7691a81e3ab7f5cc9dd31c50b1960cdebaba27
Fidget-Spinnerhttps://github.com/Fidget-Spinner
https://github.com/python/cpython/pull/123924#pullrequestreview-2296513485
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/123924
Objects/frameobject.chttps://github.com/python/cpython/pull/123924/files/9e7691a81e3ab7f5cc9dd31c50b1960cdebaba27#diff-7b8cef249e5cca077d30de4e428a6bde6b9b803464e790e9cffa7e052e19efdd
Please reload this pagehttps://github.com/python/cpython/pull/123924
https://github.com/colesbury
colesburyhttps://github.com/colesbury
🔨 test-with-refleak-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-refleak-buildbots%22
Sep 11, 2024https://github.com/python/cpython/pull/123924#event-14216706045
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Sep 11, 2024https://github.com/python/cpython/pull/123924#issuecomment-2343739392
@colesburyhttps://github.com/colesbury
9e7691ahttps://github.com/python/cpython/commit/9e7691a81e3ab7f5cc9dd31c50b1960cdebaba27
Please reload this pagehttps://github.com/python/cpython/pull/123924
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
🔨 test-with-refleak-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-refleak-buildbots%22
Sep 11, 2024https://github.com/python/cpython/pull/123924#event-14216706950
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Fidget-Spinnerhttps://github.com/Fidget-Spinner
September 11, 2024 16:01https://github.com/python/cpython/pull/123924#event-14218873635
https://github.com/Fidget-Spinner
Fidget-Spinnerhttps://github.com/Fidget-Spinner
Sep 11, 2024 https://github.com/python/cpython/pull/123924#pullrequestreview-2297967367
View reviewed changes https://github.com/python/cpython/pull/123924/files/9e7691a81e3ab7f5cc9dd31c50b1960cdebaba27
Fidget-Spinnerhttps://github.com/Fidget-Spinner
https://github.com/python/cpython/pull/123924#pullrequestreview-2297967367
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/123924
Modules/_testexternalinspection.chttps://github.com/python/cpython/pull/123924/files/9e7691a81e3ab7f5cc9dd31c50b1960cdebaba27#diff-08adf6717de7c662b4e6960c5c428e6c46b1ef5370b562a4b0c92ecb071ce733
Please reload this pagehttps://github.com/python/cpython/pull/123924
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
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
Sep 11, 2024https://github.com/python/cpython/pull/123924#event-14219663960
https://github.com/colesbury
Use Py_TAG_BITS instead of 1https://github.com/python/cpython/pull/123924/commits/471a757378a3c203c71f6c5128b2f1d1b6173f32
471a757https://github.com/python/cpython/pull/123924/commits/471a757378a3c203c71f6c5128b2f1d1b6173f32
https://github.com/colesbury
colesburyhttps://github.com/colesbury
b2afe2ahttps://github.com/python/cpython/commit/b2afe2aae487ebf89897e22c01d9095944fd334f
Sep 12, 2024https://github.com/python/cpython/pull/123924#event-14235943995
https://github.com/colesbury
colesburyhttps://github.com/colesbury
September 12, 2024 16:37https://github.com/python/cpython/pull/123924#event-14235944417
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Sep 12, 2024https://github.com/python/cpython/pull/123924#event-14235944488
https://github.com/nascheme
naschemehttps://github.com/nascheme
Jan 2, 2025 https://github.com/python/cpython/pull/123924#ref-issue-2765347354
Crash when using _Py_DumpTracebackThreads #128400 https://github.com/python/cpython/issues/128400
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/sergey-miryanov
Feb 21, 2025 https://github.com/python/cpython/pull/123924#ref-pullrequest-2849295608
gh-130052: Fix some exceptions on error paths in _testexternalinspection #130053 https://github.com/python/cpython/pull/130053
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Oct 22, 2025 https://github.com/python/cpython/pull/123924#ref-issue-3537249507
Segfault in gc_free_threading.c after PR #140262 with ASAN build and free-threading tests #140431 https://github.com/python/cpython/issues/140431
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%2F123924
https://github.com/graingert
graingert https://github.com/graingert
https://github.com/python/cpython/pull/123924/files/9e7691a81e3ab7f5cc9dd31c50b1960cdebaba27
https://github.com/Fidget-Spinner
Fidget-Spinner https://github.com/Fidget-Spinner
https://github.com/python/cpython/pull/123924/files/9e7691a81e3ab7f5cc9dd31c50b1960cdebaba27
https://github.com/markshannon
markshannon https://github.com/markshannon
Please reload this pagehttps://github.com/python/cpython/pull/123924
topic-free-threading https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-free-threading
Please reload this pagehttps://github.com/python/cpython/pull/123924
https://github.com/colesbury
https://github.com/bedevere-bot
https://github.com/graingert
https://github.com/Fidget-Spinner
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.