René's URL Explorer Experiment


Title: gh-139772: Add PyDict_NewPresized() function by vstinner · Pull Request #139773 · python/cpython · GitHub

Open Graph Title: gh-139772: Add PyDict_NewPresized() function by vstinner · Pull Request #139773 · python/cpython

X Title: gh-139772: Add PyDict_NewPresized() function by vstinner · Pull Request #139773 · python/cpython

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

Open Graph Description: Issue: [C API] Add PyDict_NewPresized() function #139772 📚 Documentation preview 📚: https://cpython-previews--139773.org.readthedocs.build/

X Description: Issue: [C API] Add PyDict_NewPresized() function #139772 📚 Documentation preview 📚: https://cpython-previews--139773.org.readthedocs.build/

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

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:70e1fba6-4ec1-bea0-a012-9d8986840397
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC036:3B07B3:542290:69B55F:6B020410
html-safe-nonceb460812265483ed289bb283415bd4795c5171b96df84f3f156344a914d1db702
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDM2OjNCMDdCMzo1NDIyOTA6NjlCNTVGOjZCMDIwNDEwIiwidmlzaXRvcl9pZCI6IjU0MzE3Nzg4MzEwNDY0MTEyODAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac8341d9846aa35c84295676dd9922f6a08dbfaac69a041b188e4d0fc5c0f6f860
hovercard-subject-tagpull_request:2897477989
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/139773/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/fa4b4f0eedd18a1f3e27828e51038350d5a2f6bf97de6646e1dbabe63b50e0b8/python/cpython/pull/139773
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fa4b4f0eedd18a1f3e27828e51038350d5a2f6bf97de6646e1dbabe63b50e0b8/python/cpython/pull/139773
og:image:altIssue: [C API] Add PyDict_NewPresized() function #139772 📚 Documentation preview 📚: https://cpython-previews--139773.org.readthedocs.build/
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
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/139773#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F139773
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%2F139773
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/139773
Reloadhttps://github.com/python/cpython/pull/139773
Reloadhttps://github.com/python/cpython/pull/139773
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
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:dict_presizedhttps://github.com/vstinner/cpython/tree/dict_presized
Conversationhttps://github.com/python/cpython/pull/139773
Commits2 (2)https://github.com/python/cpython/pull/139773/commits
Checkshttps://github.com/python/cpython/pull/139773/checks
Files changedhttps://github.com/python/cpython/pull/139773/files
gh-139772: Add PyDict_NewPresized() functionhttps://github.com/python/cpython/pull/139773#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:dict_presizedhttps://github.com/vstinner/cpython/tree/dict_presized
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 8, 2025https://github.com/python/cpython/pull/139773#issue-3495460822
Please reload this pagehttps://github.com/python/cpython/pull/139773
[C API] Add PyDict_NewPresized() function #139772https://github.com/python/cpython/issues/139772
https://cpython-previews--139773.org.readthedocs.build/https://cpython-previews--139773.org.readthedocs.build/
Please reload this pagehttps://github.com/python/cpython/pull/139773
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
AA-Turnerhttps://github.com/AA-Turner
markshannonhttps://github.com/markshannon
methanehttps://github.com/methane
code ownershttps://github.com/python/cpython/blob/8b9606a2c577b0a0f7f425959a27a8554a9b474f/.github/CODEOWNERS#L114
October 8, 2025 13:29https://github.com/python/cpython/pull/139773#event-20164081782
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 8, 2025 https://github.com/python/cpython/pull/139773#ref-issue-3495443899
[C API] Add PyDict_NewPresized() function #139772 https://github.com/python/cpython/issues/139772
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
Oct 8, 2025https://github.com/python/cpython/pull/139773#event-20164083913
https://github.com/methane
methanehttps://github.com/methane
Oct 9, 2025 https://github.com/python/cpython/pull/139773#pullrequestreview-3318190789
View reviewed changes https://github.com/python/cpython/pull/139773/files
Doc/c-api/dict.rsthttps://github.com/python/cpython/pull/139773/files#diff-2d1742df4df348dbdf07209a3c375d67320dcea764563f139e3f091b5c48877d
Please reload this pagehttps://github.com/python/cpython/pull/139773
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
October 11, 2025 21:57https://github.com/python/cpython/pull/139773#event-20227309819
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
Oct 11, 2025https://github.com/python/cpython/pull/139773#event-20227309904
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 11, 2025https://github.com/python/cpython/pull/139773#issuecomment-3393684279
#139963https://github.com/python/cpython/pull/139963
Please reload this pagehttps://github.com/python/cpython/pull/139773
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
force-pushedhttps://github.com/python/cpython/compare/eb555c6c9f4d9a991edf8c2b1f52573ad35a8add..8bb971592e0148d1ccbbe532ed62cd1a1a7e4524
eb555c6https://github.com/python/cpython/commit/eb555c6c9f4d9a991edf8c2b1f52573ad35a8add
8bb9715https://github.com/python/cpython/commit/8bb971592e0148d1ccbbe532ed62cd1a1a7e4524
Compare https://github.com/python/cpython/compare/eb555c6c9f4d9a991edf8c2b1f52573ad35a8add..8bb971592e0148d1ccbbe532ed62cd1a1a7e4524
October 12, 2025 12:40https://github.com/python/cpython/pull/139773#event-20230783956
https://github.com/vstinner
pythongh-139772https://github.com/python/cpython/issues/139772
: Add PyDict_NewPresized() functionhttps://github.com/python/cpython/pull/139773/commits/8a61f5aa3cc81081185a694f0be9a0c9e390b515
8a61f5ahttps://github.com/python/cpython/pull/139773/commits/8a61f5aa3cc81081185a694f0be9a0c9e390b515
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
force-pushedhttps://github.com/python/cpython/compare/8bb971592e0148d1ccbbe532ed62cd1a1a7e4524..8a61f5aa3cc81081185a694f0be9a0c9e390b515
8bb9715https://github.com/python/cpython/commit/8bb971592e0148d1ccbbe532ed62cd1a1a7e4524
8a61f5ahttps://github.com/python/cpython/commit/8a61f5aa3cc81081185a694f0be9a0c9e390b515
Compare https://github.com/python/cpython/compare/8bb971592e0148d1ccbbe532ed62cd1a1a7e4524..8a61f5aa3cc81081185a694f0be9a0c9e390b515
October 12, 2025 12:41https://github.com/python/cpython/pull/139773#event-20230797162
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 12, 2025https://github.com/python/cpython/pull/139773#issuecomment-3394330317
Please reload this pagehttps://github.com/python/cpython/pull/139773
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 12, 2025 https://github.com/python/cpython/pull/139773#ref-pullrequest-3506118218
gh-139772: Add PyDict_FromItems() function #139963 https://github.com/python/cpython/pull/139963
https://github.com/vstinner
Fix the dochttps://github.com/python/cpython/pull/139773/commits/4b34da958af12e13942c6ebccd6a09d229e2fd84
4b34da9https://github.com/python/cpython/pull/139773/commits/4b34da958af12e13942c6ebccd6a09d229e2fd84
https://github.com/methane
methanehttps://github.com/methane
Oct 13, 2025https://github.com/python/cpython/pull/139773#issuecomment-3396274523
Please reload this pagehttps://github.com/python/cpython/pull/139773
https://github.com/methane
methanehttps://github.com/methane
Oct 13, 2025 https://github.com/python/cpython/pull/139773#pullrequestreview-3330338245
View reviewed changes https://github.com/python/cpython/pull/139773/files/4b34da958af12e13942c6ebccd6a09d229e2fd84
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
Oct 13, 2025https://github.com/python/cpython/pull/139773#event-20240650889
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
October 13, 2025 10:06https://github.com/python/cpython/pull/139773#event-20243352248
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
Oct 13, 2025https://github.com/python/cpython/pull/139773#event-20243353576
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 13, 2025 https://github.com/python/cpython/pull/139773#ref-issue-3509614094
Add PyDict_NewPresized() function capi-workgroup/decisions#80 https://github.com/capi-workgroup/decisions/issues/80
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 13, 2025https://github.com/python/cpython/pull/139773#issuecomment-3397147474
Please reload this pagehttps://github.com/python/cpython/pull/139773
Please reload this pagehttps://github.com/python/cpython/pull/139773
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 13, 2025https://github.com/python/cpython/pull/139773#issuecomment-3397153714
capi-workgroup/decisions#80https://github.com/capi-workgroup/decisions/issues/80
Please reload this pagehttps://github.com/python/cpython/pull/139773
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 13, 2025https://github.com/python/cpython/pull/139773#issuecomment-3397347109
Please reload this pagehttps://github.com/python/cpython/pull/139773
Please reload this pagehttps://github.com/python/cpython/pull/139773
https://github.com/davidhewitt
davidhewitthttps://github.com/davidhewitt
Oct 16, 2025https://github.com/python/cpython/pull/139773#issuecomment-3410762432
Please reload this pagehttps://github.com/python/cpython/pull/139773
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 16, 2025https://github.com/python/cpython/pull/139773#issuecomment-3411351951
Please reload this pagehttps://github.com/python/cpython/pull/139773
https://github.com/davidhewitt
davidhewitthttps://github.com/davidhewitt
Oct 16, 2025https://github.com/python/cpython/pull/139773#issuecomment-3412545483
Please reload this pagehttps://github.com/python/cpython/pull/139773
https://github.com/davidhewitt
davidhewitthttps://github.com/davidhewitt
Oct 16, 2025https://github.com/python/cpython/pull/139773#issuecomment-3412547953
Please reload this pagehttps://github.com/python/cpython/pull/139773
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 16, 2025https://github.com/python/cpython/pull/139773#issuecomment-3412886632
#139963 (comment)https://github.com/python/cpython/pull/139963#issuecomment-3412864991
Please reload this pagehttps://github.com/python/cpython/pull/139773
https://github.com/davidhewitt
davidhewitthttps://github.com/davidhewitt
Oct 17, 2025https://github.com/python/cpython/pull/139773#issuecomment-3414771631
Please reload this pagehttps://github.com/python/cpython/pull/139773
https://github.com/methane
methanehttps://github.com/methane
Oct 18, 2025https://github.com/python/cpython/pull/139773#issuecomment-3417809120
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/139773
https://github.com/methane
methanehttps://github.com/methane
Oct 18, 2025https://github.com/python/cpython/pull/139773#issuecomment-3417810732
Please reload this pagehttps://github.com/python/cpython/pull/139773
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Dec 5, 2025https://github.com/python/cpython/pull/139773#issuecomment-3618511938
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/139773
https://github.com/methane
methanehttps://github.com/methane
Dec 8, 2025https://github.com/python/cpython/pull/139773#issuecomment-3625919375
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/139773
methanehttps://github.com/methane
Dec 8, 2025 https://github.com/python/cpython/pull/139773#ref-commit-12d4af3
https://github.com/methane
benchmark for _PyDict_NewPresizedhttps://github.com/methane/notes/commit/12d4af3581286426c4222a1a020e2bde2432c82e
12d4af3https://github.com/methane/notes/commit/12d4af3581286426c4222a1a020e2bde2432c82e
python/cpython#139773https://github.com/python/cpython/pull/139773
methanehttps://github.com/methane
Dec 8, 2025 https://github.com/python/cpython/pull/139773#ref-commit-5fa51cc
https://github.com/methane
benchmark for _PyDict_NewPresizedhttps://github.com/methane/notes/commit/5fa51cc323eb305308a8f5e9578339be6035f9c9
5fa51cchttps://github.com/methane/notes/commit/5fa51cc323eb305308a8f5e9578339be6035f9c9
python/cpython#139773https://github.com/python/cpython/pull/139773
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Dec 8, 2025https://github.com/python/cpython/pull/139773#issuecomment-3626820612
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/139773
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Jan 7, 2026https://github.com/python/cpython/pull/139773#issuecomment-3719608555
#139963https://github.com/python/cpython/pull/139963
Please reload this pagehttps://github.com/python/cpython/pull/139773
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Jan 7, 2026https://github.com/python/cpython/pull/139773#event-21902076069
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
July 10, 2026 20:15https://github.com/python/cpython/pull/139773#event-27832046432
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%2F139773
https://github.com/methane
methane https://github.com/methane
https://github.com/python/cpython/pull/139773/files/4b34da958af12e13942c6ebccd6a09d229e2fd84
https://github.com/markshannon
markshannon https://github.com/markshannon
https://github.com/AA-Turner
AA-Turner https://github.com/AA-Turner
Please reload this pagehttps://github.com/python/cpython/pull/139773
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Please reload this pagehttps://github.com/python/cpython/pull/139773
https://github.com/vstinner
https://github.com/methane
https://github.com/davidhewitt
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.