René's URL Explorer Experiment


Title: Draft: gh-139103: Use _PyObject_GetMethodStackRef for slot_tp_new by eendebakpt · Pull Request #141603 · python/cpython · GitHub

Open Graph Title: Draft: gh-139103: Use _PyObject_GetMethodStackRef for slot_tp_new by eendebakpt · Pull Request #141603 · python/cpython

X Title: Draft: gh-139103: Use _PyObject_GetMethodStackRef for slot_tp_new by eendebakpt · Pull Request #141603 · python/cpython

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

Open Graph Description: Use _PyObject_GetMethodStackRef for slot_tp_new to avoid refcount contention in namedtuple. Marked draft: the free-threading bottleneck is not yet resolved Issue: Poor thread scaling when constr...

X Description: Use _PyObject_GetMethodStackRef for slot_tp_new to avoid refcount contention in namedtuple. Marked draft: the free-threading bottleneck is not yet resolved Issue: Poor thread scaling when constr...

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

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:1d31e6f3-4507-a480-7830-fe416cdaf891
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA706:1B147D:7B6705:A72B94:6A55A18E
html-safe-nonceaf7898c4f8cb2cf461461b4bec545a99e0401cd6b5177fb7d2e5017c88f0f186
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzA2OjFCMTQ3RDo3QjY3MDU6QTcyQjk0OjZBNTVBMThFIiwidmlzaXRvcl9pZCI6IjE2OTU4Njc3MDExNzA2NDMzNDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf400fe85be9e4ea20efe62cca7c93a99e0c5a56ddaa37aded5d7a3cfa671cbdb
hovercard-subject-tagpull_request:3013980359
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/141603/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c0a8e74ef08c8fa12bfb6c696f95bb0676904db52d07ab84635aaf33fadec2c1/python/cpython/pull/141603
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c0a8e74ef08c8fa12bfb6c696f95bb0676904db52d07ab84635aaf33fadec2c1/python/cpython/pull/141603
og:image:altUse _PyObject_GetMethodStackRef for slot_tp_new to avoid refcount contention in namedtuple. Marked draft: the free-threading bottleneck is not yet resolved Issue: Poor thread scaling when constr...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameeendebakpt
hostnamegithub.com
expected-hostnamegithub.com
Noneb5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e
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
release653fccf1e27344851c0d3de3fa6faa526197f072
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/141603#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F141603
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%2F141603
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/141603
Reloadhttps://github.com/python/cpython/pull/141603
Reloadhttps://github.com/python/cpython/pull/141603
Please reload this pagehttps://github.com/python/cpython/pull/141603
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/141603
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
eendebakpthttps://github.com/eendebakpt
python:mainhttps://github.com/python/cpython/tree/main
eendebakpt:namedtuple_stackrefhttps://github.com/eendebakpt/cpython/tree/namedtuple_stackref
Conversationhttps://github.com/python/cpython/pull/141603
Commits9 (9)https://github.com/python/cpython/pull/141603/commits
Checkshttps://github.com/python/cpython/pull/141603/checks
Files changedhttps://github.com/python/cpython/pull/141603/files
Draft: gh-139103: Use _PyObject_GetMethodStackRef for slot_tp_newhttps://github.com/python/cpython/pull/141603#top
eendebakpthttps://github.com/eendebakpt
python:mainhttps://github.com/python/cpython/tree/main
eendebakpt:namedtuple_stackrefhttps://github.com/eendebakpt/cpython/tree/namedtuple_stackref
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
Nov 15, 2025https://github.com/python/cpython/pull/141603#issue-3629275217
Please reload this pagehttps://github.com/python/cpython/pull/141603
Poor thread scaling when constructing instances or accessing attributes #139103https://github.com/python/cpython/issues/139103
Please reload this pagehttps://github.com/python/cpython/pull/141603
eendebakpthttps://github.com/eendebakpt
November 15, 2025 22:03https://github.com/python/cpython/pull/141603#commits-pushed-9ca166c
https://github.com/eendebakpt
Use _PyObject_GetMethodStackRef for slot_tp_newhttps://github.com/python/cpython/pull/141603/commits/9ca166c171423184e28f74a782dec2bf46b25760
9ca166chttps://github.com/python/cpython/pull/141603/commits/9ca166c171423184e28f74a782dec2bf46b25760
https://github.com/eendebakpt
remove double definitionhttps://github.com/python/cpython/pull/141603/commits/e684ed97b77cf3c79dd0bfd63d85fbef3983be1c
e684ed9https://github.com/python/cpython/pull/141603/commits/e684ed97b77cf3c79dd0bfd63d85fbef3983be1c
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
markshannonhttps://github.com/markshannon
code ownershttps://github.com/python/cpython/blob/ed73c909f278a1eb558b120ef8ed2c0f8528bf58/.github/CODEOWNERS#L257
November 15, 2025 21:33https://github.com/python/cpython/pull/141603#event-20964307211
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Nov 15, 2025https://github.com/python/cpython/pull/141603#event-20964307451
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Nov 15, 2025 https://github.com/python/cpython/pull/141603#ref-issue-3429494310
Poor thread scaling when constructing instances or accessing attributes #139103 https://github.com/python/cpython/issues/139103
eendebakpthttps://github.com/eendebakpt
November 15, 2025 22:35https://github.com/python/cpython/pull/141603#commits-pushed-28bc351
https://github.com/eendebakpt
remove dead codehttps://github.com/python/cpython/pull/141603/commits/28bc3511c56ae15e57cc3c859faac917776f8cd1
28bc351https://github.com/python/cpython/pull/141603/commits/28bc3511c56ae15e57cc3c859faac917776f8cd1
https://github.com/eendebakpt
add asserthttps://github.com/python/cpython/pull/141603/commits/16198642e1e48118d5785d120bcaffa3c94c8f87
1619864https://github.com/python/cpython/pull/141603/commits/16198642e1e48118d5785d120bcaffa3c94c8f87
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
Nov 15, 2025 https://github.com/python/cpython/pull/141603#pullrequestreview-3468625805
View reviewed changes https://github.com/python/cpython/pull/141603/files/16198642e1e48118d5785d120bcaffa3c94c8f87
Objects/typeobject.chttps://github.com/python/cpython/pull/141603/files/16198642e1e48118d5785d120bcaffa3c94c8f87#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872
Please reload this pagehttps://github.com/python/cpython/pull/141603
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
Nov 15, 2025 https://github.com/python/cpython/pull/141603#pullrequestreview-3468627148
View reviewed changes https://github.com/python/cpython/pull/141603/files/16198642e1e48118d5785d120bcaffa3c94c8f87
Objects/typeobject.chttps://github.com/python/cpython/pull/141603/files/16198642e1e48118d5785d120bcaffa3c94c8f87#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872
Please reload this pagehttps://github.com/python/cpython/pull/141603
eendebakpthttps://github.com/eendebakpt
November 16, 2025 00:13https://github.com/python/cpython/pull/141603#commits-pushed-b1b9085
https://github.com/eendebakpt
Apply suggestions from code reviewhttps://github.com/python/cpython/pull/141603/commits/b1b908581d67be2b92f80d376d649ca15e83cee3
b1b9085https://github.com/python/cpython/pull/141603/commits/b1b908581d67be2b92f80d376d649ca15e83cee3
https://github.com/apps/blurb-it
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/141603/commits/1d2ef1135efc12c0e4cc2492dbd659b80a3c1f58
1d2ef11https://github.com/python/cpython/pull/141603/commits/1d2ef1135efc12c0e4cc2492dbd659b80a3c1f58
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
Nov 16, 2025 https://github.com/python/cpython/pull/141603#pullrequestreview-3470478956
View reviewed changes https://github.com/python/cpython/pull/141603/files/1d2ef1135efc12c0e4cc2492dbd659b80a3c1f58
Misc/NEWS.d/next/Core_and_Builtins/2025-11-16-20-28-48.gh-issue-139103.gZNQMz.rsthttps://github.com/python/cpython/pull/141603/files/1d2ef1135efc12c0e4cc2492dbd659b80a3c1f58#diff-cfdcedd93667f1b2c00eaa1b6e13b1ae68774a642962bad27d3f88cd11e8ba5b
Please reload this pagehttps://github.com/python/cpython/pull/141603
eendebakpthttps://github.com/eendebakpt
November 16, 2025 21:30https://github.com/python/cpython/pull/141603#commits-pushed-b141d27
https://github.com/eendebakpt
Apply suggestions from code reviewhttps://github.com/python/cpython/pull/141603/commits/b141d27677b98535a5a7c06e9b57f23b661e2169
b141d27https://github.com/python/cpython/pull/141603/commits/b141d27677b98535a5a7c06e9b57f23b661e2169
https://github.com/eendebakpt
revert changes to auto-generated filehttps://github.com/python/cpython/pull/141603/commits/d8930e063533d84bddb310f9c602b205f635179a
d8930e0https://github.com/python/cpython/pull/141603/commits/d8930e063533d84bddb310f9c602b205f635179a
https://github.com/eendebakpt
Merge branch 'main' into namedtuple_stackrefhttps://github.com/python/cpython/pull/141603/commits/ade070975236309f8de397b379865652c5fcdd98
ade0709https://github.com/python/cpython/pull/141603/commits/ade070975236309f8de397b379865652c5fcdd98
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Nov 19, 2025https://github.com/python/cpython/pull/141603#issuecomment-3553015013
@eendebakpthttps://github.com/eendebakpt
Please reload this pagehttps://github.com/python/cpython/pull/141603
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
February 23, 2026 10:21https://github.com/python/cpython/pull/141603#event-22996639009
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Feb 23, 2026https://github.com/python/cpython/pull/141603#event-22996640391
https://github.com/eendebakpt
eendebakpthttps://github.com/eendebakpt
Apr 11, 2026https://github.com/python/cpython/pull/141603#event-24412719310
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%2F141603
https://github.com/ericsnowcurrently
ericsnowcurrently https://github.com/ericsnowcurrently
https://github.com/markshannon
markshannon https://github.com/markshannon
Please reload this pagehttps://github.com/python/cpython/pull/141603
https://github.com/eendebakpt
https://github.com/colesbury
https://github.com/nazeerali4325-commits
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.