| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:70e1fba6-4ec1-bea0-a012-9d8986840397 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C036:3B07B3:542290:69B55F:6B020410 |
| html-safe-nonce | b460812265483ed289bb283415bd4795c5171b96df84f3f156344a914d1db702 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDM2OjNCMDdCMzo1NDIyOTA6NjlCNTVGOjZCMDIwNDEwIiwidmlzaXRvcl9pZCI6IjU0MzE3Nzg4MzEwNDY0MTEyODAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8341d9846aa35c84295676dd9922f6a08dbfaac69a041b188e4d0fc5c0f6f860 |
| hovercard-subject-tag | pull_request:2897477989 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/139773/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/fa4b4f0eedd18a1f3e27828e51038350d5a2f6bf97de6646e1dbabe63b50e0b8/python/cpython/pull/139773 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fa4b4f0eedd18a1f3e27828e51038350d5a2f6bf97de6646e1dbabe63b50e0b8/python/cpython/pull/139773 |
| og:image:alt | Issue: [C API] Add PyDict_NewPresized() function #139772
📚 Documentation preview 📚: https://cpython-previews--139773.org.readthedocs.build/ |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-cache |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/cpython/pull/139773#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F139773 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F139773 |
| 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 |
| Reload | https://github.com/python/cpython/pull/139773 |
| Reload | https://github.com/python/cpython/pull/139773 |
| Reload | https://github.com/python/cpython/pull/139773 |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | 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/insights |
| https://github.com/python/cpython |
| vstinner | https://github.com/vstinner |
| python:main | https://github.com/python/cpython/tree/main |
| vstinner:dict_presized | https://github.com/vstinner/cpython/tree/dict_presized |
| Conversation | https://github.com/python/cpython/pull/139773 |
| Commits2 (2) | https://github.com/python/cpython/pull/139773/commits |
| Checks | https://github.com/python/cpython/pull/139773/checks |
| Files changed | https://github.com/python/cpython/pull/139773/files |
| gh-139772: Add PyDict_NewPresized() function | https://github.com/python/cpython/pull/139773#top |
| vstinner | https://github.com/vstinner |
| python:main | https://github.com/python/cpython/tree/main |
| vstinner:dict_presized | https://github.com/vstinner/cpython/tree/dict_presized |
|
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Oct 8, 2025 | https://github.com/python/cpython/pull/139773#issue-3495460822 |
| Please reload this page | https://github.com/python/cpython/pull/139773 |
| [C API] Add PyDict_NewPresized() function #139772 | https://github.com/python/cpython/issues/139772 |
| https://cpython-previews--139773.org.readthedocs.build/ | https://cpython-previews--139773.org.readthedocs.build/ |
| Please reload this page | https://github.com/python/cpython/pull/139773 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| AA-Turner | https://github.com/AA-Turner |
| markshannon | https://github.com/markshannon |
| methane | https://github.com/methane |
| code owners | https://github.com/python/cpython/blob/8b9606a2c577b0a0f7f425959a27a8554a9b474f/.github/CODEOWNERS#L114 |
| October 8, 2025 13:29 | https://github.com/python/cpython/pull/139773#event-20164081782 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://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-app | https://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, 2025 | https://github.com/python/cpython/pull/139773#event-20164083913 |
| https://github.com/methane |
| methane | https://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.rst | https://github.com/python/cpython/pull/139773/files#diff-2d1742df4df348dbdf07209a3c375d67320dcea764563f139e3f091b5c48877d |
| Please reload this page | https://github.com/python/cpython/pull/139773 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| October 11, 2025 21:57 | https://github.com/python/cpython/pull/139773#event-20227309819 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://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, 2025 | https://github.com/python/cpython/pull/139773#event-20227309904 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Oct 11, 2025 | https://github.com/python/cpython/pull/139773#issuecomment-3393684279 |
| #139963 | https://github.com/python/cpython/pull/139963 |
| Please reload this page | https://github.com/python/cpython/pull/139773 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| force-pushed | https://github.com/python/cpython/compare/eb555c6c9f4d9a991edf8c2b1f52573ad35a8add..8bb971592e0148d1ccbbe532ed62cd1a1a7e4524 |
| eb555c6 | https://github.com/python/cpython/commit/eb555c6c9f4d9a991edf8c2b1f52573ad35a8add |
| 8bb9715 | https://github.com/python/cpython/commit/8bb971592e0148d1ccbbe532ed62cd1a1a7e4524 |
|
Compare
| https://github.com/python/cpython/compare/eb555c6c9f4d9a991edf8c2b1f52573ad35a8add..8bb971592e0148d1ccbbe532ed62cd1a1a7e4524 |
| October 12, 2025 12:40 | https://github.com/python/cpython/pull/139773#event-20230783956 |
|
| https://github.com/vstinner |
| pythongh-139772 | https://github.com/python/cpython/issues/139772 |
| : Add PyDict_NewPresized() function | https://github.com/python/cpython/pull/139773/commits/8a61f5aa3cc81081185a694f0be9a0c9e390b515 |
| 8a61f5a | https://github.com/python/cpython/pull/139773/commits/8a61f5aa3cc81081185a694f0be9a0c9e390b515 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| force-pushed | https://github.com/python/cpython/compare/8bb971592e0148d1ccbbe532ed62cd1a1a7e4524..8a61f5aa3cc81081185a694f0be9a0c9e390b515 |
| 8bb9715 | https://github.com/python/cpython/commit/8bb971592e0148d1ccbbe532ed62cd1a1a7e4524 |
| 8a61f5a | https://github.com/python/cpython/commit/8a61f5aa3cc81081185a694f0be9a0c9e390b515 |
|
Compare
| https://github.com/python/cpython/compare/8bb971592e0148d1ccbbe532ed62cd1a1a7e4524..8a61f5aa3cc81081185a694f0be9a0c9e390b515 |
| October 12, 2025 12:41 | https://github.com/python/cpython/pull/139773#event-20230797162 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Oct 12, 2025 | https://github.com/python/cpython/pull/139773#issuecomment-3394330317 |
| Please reload this page | https://github.com/python/cpython/pull/139773 |
| https://github.com/vstinner |
| vstinner | https://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 doc | https://github.com/python/cpython/pull/139773/commits/4b34da958af12e13942c6ebccd6a09d229e2fd84 |
| 4b34da9 | https://github.com/python/cpython/pull/139773/commits/4b34da958af12e13942c6ebccd6a09d229e2fd84 |
| https://github.com/methane |
| methane | https://github.com/methane |
| Oct 13, 2025 | https://github.com/python/cpython/pull/139773#issuecomment-3396274523 |
| Please reload this page | https://github.com/python/cpython/pull/139773 |
| https://github.com/methane |
| methane | https://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-app | https://github.com/apps/bedevere-app |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Oct 13, 2025 | https://github.com/python/cpython/pull/139773#event-20240650889 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| October 13, 2025 10:06 | https://github.com/python/cpython/pull/139773#event-20243352248 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://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, 2025 | https://github.com/python/cpython/pull/139773#event-20243353576 |
| https://github.com/vstinner |
| vstinner | https://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 |
| vstinner | https://github.com/vstinner |
| Oct 13, 2025 | https://github.com/python/cpython/pull/139773#issuecomment-3397147474 |
| Please reload this page | https://github.com/python/cpython/pull/139773 |
| Please reload this page | https://github.com/python/cpython/pull/139773 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Oct 13, 2025 | https://github.com/python/cpython/pull/139773#issuecomment-3397153714 |
| capi-workgroup/decisions#80 | https://github.com/capi-workgroup/decisions/issues/80 |
| Please reload this page | https://github.com/python/cpython/pull/139773 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Oct 13, 2025 | https://github.com/python/cpython/pull/139773#issuecomment-3397347109 |
| Please reload this page | https://github.com/python/cpython/pull/139773 |
| Please reload this page | https://github.com/python/cpython/pull/139773 |
| https://github.com/davidhewitt |
| davidhewitt | https://github.com/davidhewitt |
| Oct 16, 2025 | https://github.com/python/cpython/pull/139773#issuecomment-3410762432 |
| Please reload this page | https://github.com/python/cpython/pull/139773 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Oct 16, 2025 | https://github.com/python/cpython/pull/139773#issuecomment-3411351951 |
| Please reload this page | https://github.com/python/cpython/pull/139773 |
| https://github.com/davidhewitt |
| davidhewitt | https://github.com/davidhewitt |
| Oct 16, 2025 | https://github.com/python/cpython/pull/139773#issuecomment-3412545483 |
| Please reload this page | https://github.com/python/cpython/pull/139773 |
| https://github.com/davidhewitt |
| davidhewitt | https://github.com/davidhewitt |
| Oct 16, 2025 | https://github.com/python/cpython/pull/139773#issuecomment-3412547953 |
| Please reload this page | https://github.com/python/cpython/pull/139773 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Oct 16, 2025 | https://github.com/python/cpython/pull/139773#issuecomment-3412886632 |
| #139963 (comment) | https://github.com/python/cpython/pull/139963#issuecomment-3412864991 |
| Please reload this page | https://github.com/python/cpython/pull/139773 |
| https://github.com/davidhewitt |
| davidhewitt | https://github.com/davidhewitt |
| Oct 17, 2025 | https://github.com/python/cpython/pull/139773#issuecomment-3414771631 |
| Please reload this page | https://github.com/python/cpython/pull/139773 |
| https://github.com/methane |
| methane | https://github.com/methane |
| Oct 18, 2025 | https://github.com/python/cpython/pull/139773#issuecomment-3417809120 |
| @vstinner | https://github.com/vstinner |
| Please reload this page | https://github.com/python/cpython/pull/139773 |
| https://github.com/methane |
| methane | https://github.com/methane |
| Oct 18, 2025 | https://github.com/python/cpython/pull/139773#issuecomment-3417810732 |
| Please reload this page | https://github.com/python/cpython/pull/139773 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Dec 5, 2025 | https://github.com/python/cpython/pull/139773#issuecomment-3618511938 |
| @vstinner | https://github.com/vstinner |
| Please reload this page | https://github.com/python/cpython/pull/139773 |
| https://github.com/methane |
| methane | https://github.com/methane |
| Dec 8, 2025 | https://github.com/python/cpython/pull/139773#issuecomment-3625919375 |
| @vstinner | https://github.com/vstinner |
| Please reload this page | https://github.com/python/cpython/pull/139773 |
| methane | https://github.com/methane |
|
Dec 8, 2025
| https://github.com/python/cpython/pull/139773#ref-commit-12d4af3 |
|
| https://github.com/methane |
| benchmark for _PyDict_NewPresized | https://github.com/methane/notes/commit/12d4af3581286426c4222a1a020e2bde2432c82e |
| 12d4af3 | https://github.com/methane/notes/commit/12d4af3581286426c4222a1a020e2bde2432c82e |
| python/cpython#139773 | https://github.com/python/cpython/pull/139773 |
| methane | https://github.com/methane |
|
Dec 8, 2025
| https://github.com/python/cpython/pull/139773#ref-commit-5fa51cc |
|
| https://github.com/methane |
| benchmark for _PyDict_NewPresized | https://github.com/methane/notes/commit/5fa51cc323eb305308a8f5e9578339be6035f9c9 |
| 5fa51cc | https://github.com/methane/notes/commit/5fa51cc323eb305308a8f5e9578339be6035f9c9 |
| python/cpython#139773 | https://github.com/python/cpython/pull/139773 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Dec 8, 2025 | https://github.com/python/cpython/pull/139773#issuecomment-3626820612 |
| @vstinner | https://github.com/vstinner |
| Please reload this page | https://github.com/python/cpython/pull/139773 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Jan 7, 2026 | https://github.com/python/cpython/pull/139773#issuecomment-3719608555 |
| #139963 | https://github.com/python/cpython/pull/139963 |
| Please reload this page | https://github.com/python/cpython/pull/139773 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Jan 7, 2026 | https://github.com/python/cpython/pull/139773#event-21902076069 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| July 10, 2026 20:15 | https://github.com/python/cpython/pull/139773#event-27832046432 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://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 page | https://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 page | https://github.com/python/cpython/pull/139773 |
|
| https://github.com/vstinner |
|
| https://github.com/methane |
|
| https://github.com/davidhewitt |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |