| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:1ed6ab37-8287-3be7-311a-edd3d4bd6106 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 99A2:C2480:1EE6487:2AA6A18:696AB5C7 |
| html-safe-nonce | b485400659923f3058c58c2d33ff7c7ee250f4917cbc8d2c76a2b7352753b8b0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OUEyOkMyNDgwOjFFRTY0ODc6MkFBNkExODo2OTZBQjVDNyIsInZpc2l0b3JfaWQiOiI1OTAzMjM4NjIzNzU3MjUyMDM5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1cb42b144dce21e2e0d454cb51ef3c69ecffdb7b9e4d1d8f800a6d79a78414e3 |
| hovercard-subject-tag | pull_request:2494098572 |
| 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/133265/files |
| twitter:image | https://avatars.githubusercontent.com/u/1152074?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1152074?s=400&v=4 |
| og:image:alt | This reverts commit 811edcf (gh-133128).
We reverted that change due to failing s390 builds (a big-endian architecture).
(This PR will be the fix, but I'm also using it to diagnose the problem ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4fa1799b6a53c2d30c950d74230781bef9e7f61138c72c7727e4b83f0743752b |
| 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 | 41f276818bd204c4a30a0281fb3c576298d9474c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/133265/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F133265%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| 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 |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| 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/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%2F133265%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/133265/files |
| Reload | https://github.com/python/cpython/pull/133265/files |
| Reload | https://github.com/python/cpython/pull/133265/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/133265/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| 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.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/133265/files |
|
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
| 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 |
| ericsnowcurrently | https://github.com/ericsnowcurrently |
| python:main | https://github.com/python/cpython/tree/main |
| ericsnowcurrently:unrevert-add-pycode-get-var-counts | https://github.com/ericsnowcurrently/cpython/tree/unrevert-add-pycode-get-var-counts |
|
Conversation
48
| https://github.com/python/cpython/pull/133265 |
|
Commits
22
| https://github.com/python/cpython/pull/133265/commits |
|
Checks
75
| https://github.com/python/cpython/pull/133265/checks |
|
Files changed
5
| https://github.com/python/cpython/pull/133265/files |
|
gh-132775: Unrevert "Add _PyCode_GetVarCounts()"
| https://github.com/python/cpython/pull/133265/files#top |
|
Show all changes
22 commits
| https://github.com/python/cpython/pull/133265/files |
|
d9c3672
gh-132775: Unrevert "Add _PyCode_GetVarCounts()"
ericsnowcurrently May 1, 2025
| https://github.com/python/cpython/pull/133265/commits/d9c3672b2e766128ce7accfa1b6b7e4c39c50ac2 |
|
54b6192
Avoid casting to int.
ericsnowcurrently May 1, 2025
| https://github.com/python/cpython/pull/133265/commits/54b61920f2bae93335c20929f064f6d43d291194 |
|
b97326f
Cast to int.
ericsnowcurrently May 1, 2025
| https://github.com/python/cpython/pull/133265/commits/b97326fa6dfe9d47b48538e2b52b8d8d63958363 |
|
1e6aa82
Add an assert.
ericsnowcurrently May 1, 2025
| https://github.com/python/cpython/pull/133265/commits/1e6aa8223221f5003248ff111d52d4979b35819a |
|
881c798
Add some helper macros.
ericsnowcurrently May 1, 2025
| https://github.com/python/cpython/pull/133265/commits/881c7985758880f600d16dd5ee3259d5d753e710 |
|
ae1efb3
Track counts using a local variable.
ericsnowcurrently May 1, 2025
| https://github.com/python/cpython/pull/133265/commits/ae1efb3fdd6210d9dee3587693efe1a2de1f8bda |
|
5f6fe84
Do not double-count names.
ericsnowcurrently May 1, 2025
| https://github.com/python/cpython/pull/133265/commits/5f6fe84a7889bb1a8220bed44ec21aa7b869dd52 |
|
c9855f1
Temporarily skip some code.
ericsnowcurrently May 2, 2025
| https://github.com/python/cpython/pull/133265/commits/c9855f160715ce3d99a527c55290937bca13abcd |
|
f1f9df9
Temporarily skip some code.
ericsnowcurrently May 2, 2025
| https://github.com/python/cpython/pull/133265/commits/f1f9df92ab1412022f97408c960782f49874cba5 |
|
09678e4
Temporarily skip some code.
ericsnowcurrently May 2, 2025
| https://github.com/python/cpython/pull/133265/commits/09678e403cf0999d6b83b16f7efa2fe515e7460c |
|
1ab3c28
Temporarily skip some code.
ericsnowcurrently May 3, 2025
| https://github.com/python/cpython/pull/133265/commits/1ab3c284d9e08037be45d1a2a0ac1c8806c33684 |
|
3ba74f6
Temporarily skip some code.
ericsnowcurrently May 3, 2025
| https://github.com/python/cpython/pull/133265/commits/3ba74f6e2f733b04ef62d879ddd764e22e7de281 |
|
d6ed560
Temporarily skip some code.
ericsnowcurrently May 3, 2025
| https://github.com/python/cpython/pull/133265/commits/d6ed56070e98d558e6fe59b871c862abce2b0142 |
|
93377fe
Temporarily skip some code.
ericsnowcurrently May 3, 2025
| https://github.com/python/cpython/pull/133265/commits/93377fe37717575cd3209ebf455c0e5b72894ba4 |
|
170c354
Temporarily skip some code.
ericsnowcurrently May 3, 2025
| https://github.com/python/cpython/pull/133265/commits/170c354b6ca5f424af06037e50d51277e37e69bd |
|
0128404
Temporarily skip some code.
ericsnowcurrently May 3, 2025
| https://github.com/python/cpython/pull/133265/commits/01284043f25ca139632f445fa26778eb7700461e |
|
4fa2ecf
Temporarily skip some code.
ericsnowcurrently May 3, 2025
| https://github.com/python/cpython/pull/133265/commits/4fa2ecfbcccb38e0c91f3b7447e483fe7ce39564 |
|
4347b13
Print the ind=ex.
ericsnowcurrently May 3, 2025
| https://github.com/python/cpython/pull/133265/commits/4347b13454096eff271e4b07dec546c8222a12fa |
|
c199564
Print more stuff.
ericsnowcurrently May 4, 2025
| https://github.com/python/cpython/pull/133265/commits/c199564c3aad239b3eeed8de971c9788c4b79aca |
|
88f7beb
Drop the temporary code.
ericsnowcurrently May 5, 2025
| https://github.com/python/cpython/pull/133265/commits/88f7bebc0e25090d7537ef1571d92a22bc7a4411 |
|
c8877e4
Respect op caches.
ericsnowcurrently May 5, 2025
| https://github.com/python/cpython/pull/133265/commits/c8877e45074045d9f48706380f2043914644f09a |
|
5b3c975
Add a critical section.
ericsnowcurrently May 5, 2025
| https://github.com/python/cpython/pull/133265/commits/5b3c975c50fbe31f354134f33ab083ac6692215e |
|
Clear filters
| https://github.com/python/cpython/pull/133265/files |
| Please reload this page | https://github.com/python/cpython/pull/133265/files |
| Please reload this page | https://github.com/python/cpython/pull/133265/files |
|
funcobject.h
| https://github.com/python/cpython/pull/133265/files#diff-7001c6c0d978b06cfa8c1816bfcfdaf7f66ff9d89302d7275e4d212bcfa39e38 |
|
pycore_code.h
| https://github.com/python/cpython/pull/133265/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8 |
|
test_code.py
| https://github.com/python/cpython/pull/133265/files#diff-08d8a239ab9b84cf01875e28a6dae873628b56bfe94d30c3336c4a607d8036e5 |
|
_testinternalcapi.c
| https://github.com/python/cpython/pull/133265/files#diff-687f4a736f1f6ad4b6cd4ff65c8e0113408304e8d65530dbd41b3f59a081a126 |
|
codeobject.c
| https://github.com/python/cpython/pull/133265/files#diff-6f869eb8beb7cbe4bc6817584b99ad567f88962fa67f7beca25d009dc401234d |
| Include/cpython/funcobject.h | https://github.com/python/cpython/pull/133265/files#diff-7001c6c0d978b06cfa8c1816bfcfdaf7f66ff9d89302d7275e4d212bcfa39e38 |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/5b3c975c50fbe31f354134f33ab083ac6692215e/Include/cpython/funcobject.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/133265/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/133265/files#diff-7001c6c0d978b06cfa8c1816bfcfdaf7f66ff9d89302d7275e4d212bcfa39e38 |
|
| https://github.com/python/cpython/pull/133265/files#diff-7001c6c0d978b06cfa8c1816bfcfdaf7f66ff9d89302d7275e4d212bcfa39e38 |
| Include/internal/pycore_code.h | https://github.com/python/cpython/pull/133265/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8 |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/5b3c975c50fbe31f354134f33ab083ac6692215e/Include/internal/pycore_code.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/133265/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/133265/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8 |
|
| https://github.com/python/cpython/pull/133265/files#diff-97ea1759f82531a45fa685065ff86bc1077c3ab3d5f65220eea48b7730032bc8 |
| Lib/test/test_code.py | https://github.com/python/cpython/pull/133265/files#diff-08d8a239ab9b84cf01875e28a6dae873628b56bfe94d30c3336c4a607d8036e5 |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/5b3c975c50fbe31f354134f33ab083ac6692215e/Lib/test/test_code.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/133265/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/133265/files#diff-08d8a239ab9b84cf01875e28a6dae873628b56bfe94d30c3336c4a607d8036e5 |
|
| https://github.com/python/cpython/pull/133265/files#diff-08d8a239ab9b84cf01875e28a6dae873628b56bfe94d30c3336c4a607d8036e5 |
| Please reload this page | https://github.com/python/cpython/pull/133265/files |
| Please reload this page | https://github.com/python/cpython/pull/133265/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 |