| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:a66e263b-3ebe-c6c4-fd8b-13976e5c70d8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A078:27157C:F9DEDC:14CFC43:696992D9 |
| html-safe-nonce | 1c7d87495b6077247f488b19e714b6b350f2cb426332caeea90dbd002ed4f67d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDc4OjI3MTU3QzpGOURFREM6MTRDRkM0Mzo2OTY5OTJEOSIsInZpc2l0b3JfaWQiOiIzMjExMjI3NDcyODAzMjM4NjE4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | fba45fec1e634d52a05d96edabdddf4763f880d8ab9149da7813b2c940352109 |
| hovercard-subject-tag | pull_request:513279754 |
| 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/23045/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 is a little bit of clean-up, small fixes, and additional helpers prior to building an updated & accurate list of globals to eliminate.
https://bugs.python.org/issue36876 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751 |
| 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 | af80af7cc9e3de9c336f18b208a600950a3c187c |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/23045/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F23045%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%2F23045%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/23045/files |
| Reload | https://github.com/python/cpython/pull/23045/files |
| Reload | https://github.com/python/cpython/pull/23045/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/23045/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/23045/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:master | https://github.com/python/cpython/tree/master |
| ericsnowcurrently:globals-c-analyzer-collate | https://github.com/ericsnowcurrently/cpython/tree/globals-c-analyzer-collate |
|
Conversation
0
| https://github.com/python/cpython/pull/23045 |
|
Commits
11
| https://github.com/python/cpython/pull/23045/commits |
|
Checks
0
| https://github.com/python/cpython/pull/23045/checks |
|
Files changed
| https://github.com/python/cpython/pull/23045/files |
| Please reload this page | https://github.com/python/cpython/pull/23045/files |
|
bpo-36876: Small adjustments to the C-analyzer tool.
| https://github.com/python/cpython/pull/23045/files#top |
|
Show all changes
11 commits
| https://github.com/python/cpython/pull/23045/files |
|
c0c1b4e
Fix a typo in write_decls_tsv().
ericsnowcurrently Oct 30, 2020
| https://github.com/python/cpython/pull/23045/commits/c0c1b4e757f2cd086bc1f3938faafa6ca45ea5a3 |
|
75fa654
Add get_actual_storage().
ericsnowcurrently Oct 23, 2020
| https://github.com/python/cpython/pull/23045/commits/75fa654001c3c13b15c8f9359704085c5c3717b0 |
|
4ceac48
Move matchers (and filters) to dedicated modules.
ericsnowcurrently Oct 30, 2020
| https://github.com/python/cpython/pull/23045/commits/4ceac48d10a0ecbad058d1f1c676f427862bafa4 |
|
724f5ff
Do not print a failure if there isn't one.
ericsnowcurrently Oct 30, 2020
| https://github.com/python/cpython/pull/23045/commits/724f5ff297c6098f882557c50281889415d5267b |
|
f277293
Add a missing divider.
ericsnowcurrently Oct 30, 2020
| https://github.com/python/cpython/pull/23045/commits/f277293085d0648dec2e3123cb3cbee70b4fb087 |
|
7feb005
Show progress during analyzer commands.
ericsnowcurrently Oct 30, 2020
| https://github.com/python/cpython/pull/23045/commits/7feb005ddb8fca8215f2a9412bb2e484c3649ae6 |
|
ac399fc
Clarify logged steps.
ericsnowcurrently Oct 30, 2020
| https://github.com/python/cpython/pull/23045/commits/ac399fc08549e054f3c9620c275ca4dc474a768a |
|
c1893e0
Add grouping and more filtering to the analyzer.
ericsnowcurrently Oct 30, 2020
| https://github.com/python/cpython/pull/23045/commits/c1893e0d44230b4da5e47a9781fbbd601c816f9e |
|
98364c0
Also analyze the source-adjacent .h files.
ericsnowcurrently Oct 30, 2020
| https://github.com/python/cpython/pull/23045/commits/98364c05823f0b615118ff91a5b78c2119131c76 |
|
5762a39
Factor out SourceInfo.too_much().
ericsnowcurrently Oct 30, 2020
| https://github.com/python/cpython/pull/23045/commits/5762a390a6382f78e1164c472947e3214b956666 |
|
adab0d5
Deal with parse-failing .h files.
ericsnowcurrently Oct 30, 2020
| https://github.com/python/cpython/pull/23045/commits/adab0d50cb7c2ca0e522304b410f15ea5be6073f |
|
Clear filters
| https://github.com/python/cpython/pull/23045/files |
| Please reload this page | https://github.com/python/cpython/pull/23045/files |
| Please reload this page | https://github.com/python/cpython/pull/23045/files |
|
__init__.py
| https://github.com/python/cpython/pull/23045/files#diff-ae52e8c0312fb0a95a61d628b09f4df6a7310f00c046377570ce6071a7de3970 |
|
__main__.py
| https://github.com/python/cpython/pull/23045/files#diff-960e55199f42a212ad2057479ef2352a64720d6d41bf8d20f66d6b234c96ea28 |
|
analyze.py
| https://github.com/python/cpython/pull/23045/files#diff-be575c7896757580c22877b3125dc9b418d21abb27d92c77f0a56be4592d7ffd |
|
datafiles.py
| https://github.com/python/cpython/pull/23045/files#diff-9dbfb620554436c28736327909e2cb000365928ef40dd477e2863820cbfd72c9 |
|
info.py
| https://github.com/python/cpython/pull/23045/files#diff-f471136293e883376a16e4cc3391b80d9aedf2882fdde95c2c181ac8d625fdb1 |
|
match.py
| https://github.com/python/cpython/pull/23045/files#diff-c3a33676efd5e6b1cce72d1c7b5020324f6a50d5099f374727c12c616dc60264 |
|
scriptutil.py
| https://github.com/python/cpython/pull/23045/files#diff-2065cd090535b3a3cc566f05730d60f809c21c49208564868ad63d106568c003 |
|
datafiles.py
| https://github.com/python/cpython/pull/23045/files#diff-720a2e6b75e2cdb9c3d177f72e248dd32e9aa679d827fedcf8bc42acd2502401 |
|
info.py
| https://github.com/python/cpython/pull/23045/files#diff-531ca48c2334d2f1f81af4bebed72dcecffd4c6159a4e0680039202920263ba1 |
|
match.py
| https://github.com/python/cpython/pull/23045/files#diff-5355f15d14433a905dccd36efcfda5ecd47a5b9e1863597d6c21430d38ca2f3c |
|
__init__.py
| https://github.com/python/cpython/pull/23045/files#diff-b8aeb171a580aad86029f932e6a7448ec6c324263d6d3027466f9fd2f8381cbb |
|
_info.py
| https://github.com/python/cpython/pull/23045/files#diff-1532d3cab8fa54f9680790b11f56b46ec04ffaa7ece9675a6be5fa1b408e97f8 |
|
_regexes.py
| https://github.com/python/cpython/pull/23045/files#diff-3dbbdce580e8b17d076f8de6e87f90ad9b50be9eff9064593c6f4484597717f6 |
|
__main__.py
| https://github.com/python/cpython/pull/23045/files#diff-745866170830483733d57128b9d060000293e46b494e9dbbf361949532e58ac4 |
|
_analyzer.py
| https://github.com/python/cpython/pull/23045/files#diff-e8397c845bab5a68888f6572260491f5aca4774c9371aee74b7c18b347dcd782 |
|
_parser.py
| https://github.com/python/cpython/pull/23045/files#diff-a32c97f81605e5323c7f7924188ab3091d37165763f6a36ec9f0a704f1581bb8 |
| Tools/c-analyzer/c_analyzer/__init__.py | https://github.com/python/cpython/pull/23045/files#diff-ae52e8c0312fb0a95a61d628b09f4df6a7310f00c046377570ce6071a7de3970 |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/adab0d50cb7c2ca0e522304b410f15ea5be6073f/Tools/c-analyzer/c_analyzer/__init__.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/23045/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/23045/files#diff-ae52e8c0312fb0a95a61d628b09f4df6a7310f00c046377570ce6071a7de3970 |
|
| https://github.com/python/cpython/pull/23045/files#diff-ae52e8c0312fb0a95a61d628b09f4df6a7310f00c046377570ce6071a7de3970 |
|
| https://github.com/python/cpython/pull/23045/files#diff-ae52e8c0312fb0a95a61d628b09f4df6a7310f00c046377570ce6071a7de3970 |
|
| https://github.com/python/cpython/pull/23045/files#diff-ae52e8c0312fb0a95a61d628b09f4df6a7310f00c046377570ce6071a7de3970 |
| Tools/c-analyzer/c_analyzer/__main__.py | https://github.com/python/cpython/pull/23045/files#diff-960e55199f42a212ad2057479ef2352a64720d6d41bf8d20f66d6b234c96ea28 |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/adab0d50cb7c2ca0e522304b410f15ea5be6073f/Tools/c-analyzer/c_analyzer/__main__.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/23045/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/23045/files#diff-960e55199f42a212ad2057479ef2352a64720d6d41bf8d20f66d6b234c96ea28 |
|
| https://github.com/python/cpython/pull/23045/files#diff-960e55199f42a212ad2057479ef2352a64720d6d41bf8d20f66d6b234c96ea28 |
|
| https://github.com/python/cpython/pull/23045/files#diff-960e55199f42a212ad2057479ef2352a64720d6d41bf8d20f66d6b234c96ea28 |
|
| https://github.com/python/cpython/pull/23045/files#diff-960e55199f42a212ad2057479ef2352a64720d6d41bf8d20f66d6b234c96ea28 |
|
| https://github.com/python/cpython/pull/23045/files#diff-960e55199f42a212ad2057479ef2352a64720d6d41bf8d20f66d6b234c96ea28 |
|
| https://github.com/python/cpython/pull/23045/files#diff-960e55199f42a212ad2057479ef2352a64720d6d41bf8d20f66d6b234c96ea28 |
|
| https://github.com/python/cpython/pull/23045/files#diff-960e55199f42a212ad2057479ef2352a64720d6d41bf8d20f66d6b234c96ea28 |
|
| https://github.com/python/cpython/pull/23045/files#diff-960e55199f42a212ad2057479ef2352a64720d6d41bf8d20f66d6b234c96ea28 |
|
| https://github.com/python/cpython/pull/23045/files#diff-960e55199f42a212ad2057479ef2352a64720d6d41bf8d20f66d6b234c96ea28 |
|
| https://github.com/python/cpython/pull/23045/files#diff-960e55199f42a212ad2057479ef2352a64720d6d41bf8d20f66d6b234c96ea28 |
|
| https://github.com/python/cpython/pull/23045/files#diff-960e55199f42a212ad2057479ef2352a64720d6d41bf8d20f66d6b234c96ea28 |
|
| https://github.com/python/cpython/pull/23045/files#diff-960e55199f42a212ad2057479ef2352a64720d6d41bf8d20f66d6b234c96ea28 |
|
| https://github.com/python/cpython/pull/23045/files#diff-960e55199f42a212ad2057479ef2352a64720d6d41bf8d20f66d6b234c96ea28 |
|
| https://github.com/python/cpython/pull/23045/files#diff-960e55199f42a212ad2057479ef2352a64720d6d41bf8d20f66d6b234c96ea28 |
|
| https://github.com/python/cpython/pull/23045/files#diff-960e55199f42a212ad2057479ef2352a64720d6d41bf8d20f66d6b234c96ea28 |
| Tools/c-analyzer/c_analyzer/analyze.py | https://github.com/python/cpython/pull/23045/files#diff-be575c7896757580c22877b3125dc9b418d21abb27d92c77f0a56be4592d7ffd |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/adab0d50cb7c2ca0e522304b410f15ea5be6073f/Tools/c-analyzer/c_analyzer/analyze.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/23045/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/23045/files#diff-be575c7896757580c22877b3125dc9b418d21abb27d92c77f0a56be4592d7ffd |
|
| https://github.com/python/cpython/pull/23045/files#diff-be575c7896757580c22877b3125dc9b418d21abb27d92c77f0a56be4592d7ffd |
| Tools/c-analyzer/c_analyzer/datafiles.py | https://github.com/python/cpython/pull/23045/files#diff-9dbfb620554436c28736327909e2cb000365928ef40dd477e2863820cbfd72c9 |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/adab0d50cb7c2ca0e522304b410f15ea5be6073f/Tools/c-analyzer/c_analyzer/datafiles.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/23045/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/23045/files#diff-9dbfb620554436c28736327909e2cb000365928ef40dd477e2863820cbfd72c9 |
|
| https://github.com/python/cpython/pull/23045/files#diff-9dbfb620554436c28736327909e2cb000365928ef40dd477e2863820cbfd72c9 |
| Tools/c-analyzer/c_analyzer/info.py | https://github.com/python/cpython/pull/23045/files#diff-f471136293e883376a16e4cc3391b80d9aedf2882fdde95c2c181ac8d625fdb1 |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/adab0d50cb7c2ca0e522304b410f15ea5be6073f/Tools/c-analyzer/c_analyzer/info.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/23045/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/23045/files#diff-f471136293e883376a16e4cc3391b80d9aedf2882fdde95c2c181ac8d625fdb1 |
|
| https://github.com/python/cpython/pull/23045/files#diff-f471136293e883376a16e4cc3391b80d9aedf2882fdde95c2c181ac8d625fdb1 |
|
| https://github.com/python/cpython/pull/23045/files#diff-f471136293e883376a16e4cc3391b80d9aedf2882fdde95c2c181ac8d625fdb1 |
| Please reload this page | https://github.com/python/cpython/pull/23045/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 |