René's URL Explorer Experiment


Title: gh-139103: Use METH_FASTCALL for tp_new_wrapper by colesbury · Pull Request #144406 · python/cpython · GitHub

Open Graph Title: gh-139103: Use METH_FASTCALL for tp_new_wrapper by colesbury · Pull Request #144406 · python/cpython

X Title: gh-139103: Use METH_FASTCALL for tp_new_wrapper by colesbury · Pull Request #144406 · python/cpython

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

Open Graph Description: This addresses one of the bottlenecks when constructing namedtuple instances. With the previous METH_VARARGS, the type argument to __new__ would be included in the arguments tuple, leading to refer...

X Description: This addresses one of the bottlenecks when constructing namedtuple instances. With the previous METH_VARARGS, the type argument to __new__ would be included in the arguments tuple, leading to refer...

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

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:8a91b705-5e95-d8ad-70bf-476d9ae5039d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA788:398175:7499A:9C5E8:6A5574C2
html-safe-nonce1f4ee086f89832bbbfad132ccffb618bbde93ce1b90c3260f8bedb1a7053b96e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzg4OjM5ODE3NTo3NDk5QTo5QzVFODo2QTU1NzRDMiIsInZpc2l0b3JfaWQiOiIzMTQ1Mjc1NTAxMjA5NTQ3OTcwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacdfd9aef936cf5b5b1fbc3877953085e0d7bb4c8f87427507df69ad50fddab985
hovercard-subject-tagpull_request:3237989399
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/144406/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/327dce0ab51b725973a65857b26cead3c31797ed90d42aacdb53f73318c9c5e3/python/cpython/pull/144406
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/327dce0ab51b725973a65857b26cead3c31797ed90d42aacdb53f73318c9c5e3/python/cpython/pull/144406
og:image:altThis addresses one of the bottlenecks when constructing namedtuple instances. With the previous METH_VARARGS, the type argument to __new__ would be included in the arguments tuple, leading to refer...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecolesbury
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
release617ea94e2807dc3052601c560530bb3f8259bc9a
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/144406#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F144406
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%2F144406
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/144406
Reloadhttps://github.com/python/cpython/pull/144406
Reloadhttps://github.com/python/cpython/pull/144406
Please reload this pagehttps://github.com/python/cpython/pull/144406
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/144406
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
kumaraditya303https://github.com/kumaraditya303
python:mainhttps://github.com/python/cpython/tree/main
colesbury:gh-139103-tp-new-wrapper-fastcallhttps://github.com/colesbury/cpython/tree/gh-139103-tp-new-wrapper-fastcall
Conversationhttps://github.com/python/cpython/pull/144406
Commits1 (1)https://github.com/python/cpython/pull/144406/commits
Checkshttps://github.com/python/cpython/pull/144406/checks
Files changedhttps://github.com/python/cpython/pull/144406/files
gh-139103: Use METH_FASTCALL for tp_new_wrapperhttps://github.com/python/cpython/pull/144406#top
kumaraditya303https://github.com/kumaraditya303
python:mainhttps://github.com/python/cpython/tree/main
colesbury:gh-139103-tp-new-wrapper-fastcallhttps://github.com/colesbury/cpython/tree/gh-139103-tp-new-wrapper-fastcall
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Feb 2, 2026https://github.com/python/cpython/pull/144406#issue-3887556151
Please reload this pagehttps://github.com/python/cpython/pull/144406
Please reload this pagehttps://github.com/python/cpython/pull/144406
https://github.com/colesbury
pythongh-139103https://github.com/python/cpython/issues/139103
: Use METH_FASTCALL for tp_new_wrapperhttps://github.com/python/cpython/pull/144406/commits/7647f67106c43e88aa6e4e1bcfe3781b7318249f
7647f67https://github.com/python/cpython/pull/144406/commits/7647f67106c43e88aa6e4e1bcfe3781b7318249f
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Feb 2, 2026 https://github.com/python/cpython/pull/144406#ref-issue-3429494310
Poor thread scaling when constructing instances or accessing attributes #139103 https://github.com/python/cpython/issues/139103
https://github.com/colesbury
colesburyhttps://github.com/colesbury
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
topic-free-threading https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-free-threading
Feb 2, 2026https://github.com/python/cpython/pull/144406#event-22475853966
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Feb 2, 2026https://github.com/python/cpython/pull/144406#issuecomment-3837202165
gh-139103: Improve namedtuple scaling in free-threaded build #144332https://github.com/python/cpython/pull/144332
https://gist.github.com/colesbury/7c0259e0779aff2cc563c7db298edf42https://gist.github.com/colesbury/7c0259e0779aff2cc563c7db298edf42
Please reload this pagehttps://github.com/python/cpython/pull/144406
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Feb 2, 2026 https://github.com/python/cpython/pull/144406#pullrequestreview-3741717934
View reviewed changes https://github.com/python/cpython/pull/144406/files/7647f67106c43e88aa6e4e1bcfe3781b7318249f
vstinnerhttps://github.com/vstinner
https://github.com/python/cpython/pull/144406#pullrequestreview-3741717934
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/144406
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
Feb 2, 2026https://github.com/python/cpython/pull/144406#event-22477343557
https://github.com/colesbury
colesburyhttps://github.com/colesbury
Feb 2, 2026https://github.com/python/cpython/pull/144406#issuecomment-3837488492
https://www.githubstatus.com/https://www.githubstatus.com/
Please reload this pagehttps://github.com/python/cpython/pull/144406
https://github.com/colesbury
colesburyhttps://github.com/colesbury
February 2, 2026 21:26https://github.com/python/cpython/pull/144406#event-22477495790
https://github.com/colesbury
colesburyhttps://github.com/colesbury
markshannonhttps://github.com/markshannon
code ownerhttps://github.com/python/cpython/blob/29acc08c8dad664cd5713cb392e5beba65724c10/.github/CODEOWNERS#L217
February 2, 2026 21:26https://github.com/python/cpython/pull/144406#event-22477495911
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
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Feb 2, 2026https://github.com/python/cpython/pull/144406#event-22477496500
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
Feb 3, 2026 https://github.com/python/cpython/pull/144406#pullrequestreview-3743490377
View reviewed changes https://github.com/python/cpython/pull/144406/files/7647f67106c43e88aa6e4e1bcfe3781b7318249f
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
Feb 3, 2026https://github.com/python/cpython/pull/144406#event-22487929575
https://github.com/kumaraditya303
kumaraditya303https://github.com/kumaraditya303
93b27e7https://github.com/python/cpython/commit/93b27e7f6d185efd5163d04fcdae8436ebf69144
Feb 3, 2026https://github.com/python/cpython/pull/144406#event-22493005671
Please reload this pagehttps://github.com/python/cpython/pull/144406
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
Feb 3, 2026https://github.com/python/cpython/pull/144406#event-22493007527
Aniketsyhttps://github.com/Aniketsy
Feb 3, 2026 https://github.com/python/cpython/pull/144406#ref-commit-79abde1
https://github.com/colesbury
https://github.com/Aniketsy
pythongh-139103https://github.com/python/cpython/issues/139103
: usehttps://github.com/Aniketsy/cpython/commit/79abde1fe4d2a6925b7faeef1e8ec64cb7e5e920
METH_FASTCALLhttps://github.com/Aniketsy/cpython/commit/79abde1fe4d2a6925b7faeef1e8ec64cb7e5e920
for tp_new_wrapper (https://github.com/Aniketsy/cpython/commit/79abde1fe4d2a6925b7faeef1e8ec64cb7e5e920
python#144406https://github.com/python/cpython/pull/144406
)https://github.com/Aniketsy/cpython/commit/79abde1fe4d2a6925b7faeef1e8ec64cb7e5e920
79abde1https://github.com/Aniketsy/cpython/commit/79abde1fe4d2a6925b7faeef1e8ec64cb7e5e920
https://github.com/colesbury
colesburyhttps://github.com/colesbury
February 5, 2026 16:59https://github.com/python/cpython/pull/144406#event-22564960134
thunder-codinghttps://github.com/thunder-coding
Feb 15, 2026 https://github.com/python/cpython/pull/144406#ref-commit-a7486a3
https://github.com/colesbury
https://github.com/thunder-coding
pythongh-139103https://github.com/python/cpython/issues/139103
: usehttps://github.com/thunder-coding/cpython/commit/a7486a3deb752e4f6c1c0488f3dccff92d099c12
METH_FASTCALLhttps://github.com/thunder-coding/cpython/commit/a7486a3deb752e4f6c1c0488f3dccff92d099c12
for tp_new_wrapper (https://github.com/thunder-coding/cpython/commit/a7486a3deb752e4f6c1c0488f3dccff92d099c12
python#144406https://github.com/python/cpython/pull/144406
)https://github.com/thunder-coding/cpython/commit/a7486a3deb752e4f6c1c0488f3dccff92d099c12
a7486a3https://github.com/thunder-coding/cpython/commit/a7486a3deb752e4f6c1c0488f3dccff92d099c12
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%2F144406
https://github.com/vstinner
vstinner https://github.com/vstinner
https://github.com/python/cpython/pull/144406/files/7647f67106c43e88aa6e4e1bcfe3781b7318249f
https://github.com/kumaraditya303
kumaraditya303 https://github.com/kumaraditya303
https://github.com/python/cpython/pull/144406/files/7647f67106c43e88aa6e4e1bcfe3781b7318249f
https://github.com/markshannon
markshannon https://github.com/markshannon
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
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/144406
https://github.com/colesbury
https://github.com/vstinner
https://github.com/kumaraditya303
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.