| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:737568a3-ddd6-baf8-0100-ea1a100f46d4 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 93EE:18AE28:35C216:482D90:6A51431E |
| html-safe-nonce | 6a1b772fc96e94bc845d35128b0b3210ddc7c0aa466c5a30a4614580584c9525 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0VFOjE4QUUyODozNUMyMTY6NDgyRDkwOjZBNTE0MzFFIiwidmlzaXRvcl9pZCI6Ijk4NzMxNzMxNzAzMjU1OTM5MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 66ef43c920a808432ca45f5834f9b62b9446e76bcb610e037ce356f581ca0a3a |
| hovercard-subject-tag | pull_request:3312238590 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/145097/files |
| twitter:image | https://avatars.githubusercontent.com/u/47841949?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/47841949?s=400&v=4 |
| og:image:alt | Restructure dict keys allocation to store dk_indices before the PyDictKeysObject header and keep dk_entries after the header.
Update dict index access and related allocation/free/clone paths, adjus... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | e840f405b2718e8f2d55aafa9ff27dbce17e29d0c253011d05ea0fea3c78baff |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b78565f6aa43cc5323c9935ec11b22cca7bb0a62 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/145097/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F145097%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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 |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F145097%2Ffiles |
|
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/145097/files |
| Reload | https://github.com/python/cpython/pull/145097/files |
| Reload | https://github.com/python/cpython/pull/145097/files |
| Please reload this page | https://github.com/python/cpython/pull/145097/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/145097/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.7k
| 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 |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| clintonsteiner | https://github.com/clintonsteiner |
| python:main | https://github.com/python/cpython/tree/main |
| clintonsteiner:gh-142889 | https://github.com/clintonsteiner/cpython/tree/gh-142889 |
|
Conversation
9
| https://github.com/python/cpython/pull/145097 |
|
Commits
12
| https://github.com/python/cpython/pull/145097/commits |
|
Checks
65
| https://github.com/python/cpython/pull/145097/checks |
|
Files changed
| https://github.com/python/cpython/pull/145097/files |
| Please reload this page | https://github.com/python/cpython/pull/145097/files |
|
gh-142889: Restructure PyDictKeysObject memory layout for simpler access
| https://github.com/python/cpython/pull/145097/files#top |
|
Show all changes
12 commits
| https://github.com/python/cpython/pull/145097/files |
|
9eec989
gh-142889: Restructure PyDictKeysObject memory layout for simpler ent…
clintonsteiner Feb 22, 2026
| https://github.com/python/cpython/pull/145097/commits/9eec9899ff4d58f139857b8ee108f8f4d7d7e65f |
|
4602616
ci fixes for wasl and c-global checker
clintonsteiner Feb 22, 2026
| https://github.com/python/cpython/pull/145097/commits/46026168a48433d16d2b3b5600e16d5d2fc0ff9c |
|
270837b
ci fixes for wasl and c-global checker
clintonsteiner Feb 22, 2026
| https://github.com/python/cpython/pull/145097/commits/270837b2a4ae56540b54d2f0dc70444832fc96b4 |
|
cc0a356
address pr comments
clintonsteiner Feb 22, 2026
| https://github.com/python/cpython/pull/145097/commits/cc0a3561165b4692877d13ba47e80767ccfd86df |
|
e6754e9
gh-142889: Address PR review comments on PyDictKeysObject restructure
clintonsteiner Mar 11, 2026
| https://github.com/python/cpython/pull/145097/commits/e6754e95a831f96f2d521a84b99fd35f68125f67 |
|
e9d9ec5
correct gbd test usage to use dk_entries instead of dk_indices
clintonsteiner Mar 11, 2026
| https://github.com/python/cpython/pull/145097/commits/e9d9ec5265b92d8a922e5ad86c7301dc60492d86 |
|
4c889e8
fix LOAD_INDEX/STORE_INDEX to use _DK_INDICES_BASE for well-defined p…
clintonsteiner Mar 11, 2026
| https://github.com/python/cpython/pull/145097/commits/4c889e8b75c1bc442e940853f7c852a4532aff5f |
|
aad4907
fix windows 32 bit: use clang -target i686-pc-windows-msvc
clintonsteiner Mar 25, 2026
| https://github.com/python/cpython/pull/145097/commits/aad4907d0381abc4a4b7d1acbd19454fb40fa426 |
|
8e74bdc
Fix gcc warning for empty dict keys initializer
clintonsteiner Mar 25, 2026
| https://github.com/python/cpython/pull/145097/commits/8e74bdcd47a10216f8fdbb56345faf8c198533e8 |
|
b82ae49
gh-0: Fix dict empty keys initializer braces
clintonsteiner Mar 25, 2026
| https://github.com/python/cpython/pull/145097/commits/b82ae49a3ccf93dc4b390aeb53f4875e659b2f7c |
|
4210757
Merge branch 'main' into gh-142889
clintonsteiner Mar 25, 2026
| https://github.com/python/cpython/pull/145097/commits/4210757ef294d8a77fce6bda92f8d10e53783fbe |
|
750c33b
Merge branch 'main' into gh-142889
clintonsteiner Mar 27, 2026
| https://github.com/python/cpython/pull/145097/commits/750c33b2692f9358cda08f4142b02d694984cd8c |
|
Clear filters
| https://github.com/python/cpython/pull/145097/files |
| Please reload this page | https://github.com/python/cpython/pull/145097/files |
| Please reload this page | https://github.com/python/cpython/pull/145097/files |
|
pycore_dict.h
| https://github.com/python/cpython/pull/145097/files#diff-47692c69ef97b2d7cf05ad8e0fa2024b575af96abf9bbc5486f71156ab67ede4 |
|
test_dict.py
| https://github.com/python/cpython/pull/145097/files#diff-a040eea55332ac71f2f5db3966f7261f844ceceaac675cc0f30eb973d2593a26 |
|
2026-02-22-00-50-00.gh-issue-142889.2u9mYk.rst
| https://github.com/python/cpython/pull/145097/files#diff-9326b1cf0513d472610ac77b3f4c72360b9d24b01f0584349f7a3ca0c1da004b |
|
_testinternalcapi.c
| https://github.com/python/cpython/pull/145097/files#diff-687f4a736f1f6ad4b6cd4ff65c8e0113408304e8d65530dbd41b3f59a081a126 |
|
dictobject.c
| https://github.com/python/cpython/pull/145097/files#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae |
|
libpython.py
| https://github.com/python/cpython/pull/145097/files#diff-d6a780608c6679847e005fc5a55c5749ce3c68c031e75e63b0c5b45e57e25758 |
| Include/internal/pycore_dict.h | https://github.com/python/cpython/pull/145097/files#diff-47692c69ef97b2d7cf05ad8e0fa2024b575af96abf9bbc5486f71156ab67ede4 |
|
View file
| https://github.com/clintonsteiner/cpython/blob/750c33b2692f9358cda08f4142b02d694984cd8c/Include/internal/pycore_dict.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/145097/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/145097/files#diff-47692c69ef97b2d7cf05ad8e0fa2024b575af96abf9bbc5486f71156ab67ede4 |
|
| https://github.com/python/cpython/pull/145097/files#diff-47692c69ef97b2d7cf05ad8e0fa2024b575af96abf9bbc5486f71156ab67ede4 |
|
| https://github.com/python/cpython/pull/145097/files#diff-47692c69ef97b2d7cf05ad8e0fa2024b575af96abf9bbc5486f71156ab67ede4 |
|
| https://github.com/python/cpython/pull/145097/files#diff-47692c69ef97b2d7cf05ad8e0fa2024b575af96abf9bbc5486f71156ab67ede4 |
| Lib/test/test_dict.py | https://github.com/python/cpython/pull/145097/files#diff-a040eea55332ac71f2f5db3966f7261f844ceceaac675cc0f30eb973d2593a26 |
|
View file
| https://github.com/clintonsteiner/cpython/blob/750c33b2692f9358cda08f4142b02d694984cd8c/Lib/test/test_dict.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/145097/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/145097/files#diff-a040eea55332ac71f2f5db3966f7261f844ceceaac675cc0f30eb973d2593a26 |
|
| https://github.com/python/cpython/pull/145097/files#diff-a040eea55332ac71f2f5db3966f7261f844ceceaac675cc0f30eb973d2593a26 |
| Misc/NEWS.d/next/Core_and_Builtins/2026-02-22-00-50-00.gh-issue-142889.2u9mYk.rst | https://github.com/python/cpython/pull/145097/files#diff-9326b1cf0513d472610ac77b3f4c72360b9d24b01f0584349f7a3ca0c1da004b |
|
View file
| https://github.com/clintonsteiner/cpython/blob/750c33b2692f9358cda08f4142b02d694984cd8c/Misc/NEWS.d/next/Core_and_Builtins/2026-02-22-00-50-00.gh-issue-142889.2u9mYk.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/145097/{{ revealButtonHref }} |
| Modules/_testinternalcapi.c | https://github.com/python/cpython/pull/145097/files#diff-687f4a736f1f6ad4b6cd4ff65c8e0113408304e8d65530dbd41b3f59a081a126 |
|
View file
| https://github.com/clintonsteiner/cpython/blob/750c33b2692f9358cda08f4142b02d694984cd8c/Modules/_testinternalcapi.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/145097/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/145097/files#diff-687f4a736f1f6ad4b6cd4ff65c8e0113408304e8d65530dbd41b3f59a081a126 |
|
| https://github.com/python/cpython/pull/145097/files#diff-687f4a736f1f6ad4b6cd4ff65c8e0113408304e8d65530dbd41b3f59a081a126 |
|
| https://github.com/python/cpython/pull/145097/files#diff-687f4a736f1f6ad4b6cd4ff65c8e0113408304e8d65530dbd41b3f59a081a126 |
|
| https://github.com/python/cpython/pull/145097/files#diff-687f4a736f1f6ad4b6cd4ff65c8e0113408304e8d65530dbd41b3f59a081a126 |
| Please reload this page | https://github.com/python/cpython/pull/145097/files |
| Please reload this page | https://github.com/python/cpython/pull/145097/files |
|
| 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 |