| Skip to content | https://github.com/python/cpython/pull/15877/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F15877%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%2F15877%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/15877/files |
| Reload | https://github.com/python/cpython/pull/15877/files |
| Reload | https://github.com/python/cpython/pull/15877/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/15877/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/15877/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-checker | https://github.com/ericsnowcurrently/cpython/tree/globals-checker |
|
Conversation
5
| https://github.com/python/cpython/pull/15877 |
|
Commits
118
| https://github.com/python/cpython/pull/15877/commits |
|
Checks
0
| https://github.com/python/cpython/pull/15877/checks |
|
Files changed
| https://github.com/python/cpython/pull/15877/files |
| Please reload this page | https://github.com/python/cpython/pull/15877/files |
|
bpo-36876: Add a tool that identifies unsupported global C variables.
| https://github.com/python/cpython/pull/15877/files#top |
|
Show all changes
118 commits
| https://github.com/python/cpython/pull/15877/files |
|
9cdba01
Bootstrap the "c-statics" script under the test suite.
ericsnowcurrently Jun 21, 2019
| https://github.com/python/cpython/pull/15877/commits/9cdba0165475d7164a489ee6b6029db6de74b9f9 |
|
cfdf57f
Stub out the "check" and "show" commands.
ericsnowcurrently Jun 22, 2019
| https://github.com/python/cpython/pull/15877/commits/cfdf57fd4c9700968137dcf4f65a98a3253e62c6 |
|
716b13d
Add a README.
ericsnowcurrently Jun 22, 2019
| https://github.com/python/cpython/pull/15877/commits/716b13d8482c12c58daeb38680c741c7e6c6ec9d |
|
ff1b447
Fix a filename.
ericsnowcurrently Jun 22, 2019
| https://github.com/python/cpython/pull/15877/commits/ff1b4473d3a9788fde757259006a279be20f3a68 |
|
7e7d52d
Run the full check as part of the test suite.
ericsnowcurrently Jun 22, 2019
| https://github.com/python/cpython/pull/15877/commits/7e7d52dfd2a8cbf8ed4fc0658a23f169d63c028b |
|
74d03d4
Frame out the functional tests.
ericsnowcurrently Jun 22, 2019
| https://github.com/python/cpython/pull/15877/commits/74d03d4f117f6b04ba66aa3a9e63ea0dc4959e40 |
|
34d2c7c
Ignore the argparse output in tests.
ericsnowcurrently Jun 22, 2019
| https://github.com/python/cpython/pull/15877/commits/34d2c7cd11fa95beca554b724607301de980bd38 |
|
e8e2227
Move relevant tests to test_cg/.
ericsnowcurrently Jun 22, 2019
| https://github.com/python/cpython/pull/15877/commits/e8e2227867bcc60ef1c045f4590fc83ee49c8cca |
|
69541bf
Add StaticVar.
ericsnowcurrently Jun 22, 2019
| https://github.com/python/cpython/pull/15877/commits/69541bf7a0378d1fa285ea3771bb0cd876522820 |
|
cab1fc8
Add a fake find.statics().
ericsnowcurrently Jun 22, 2019
| https://github.com/python/cpython/pull/15877/commits/cab1fc8d8718f8760f9287f5de83562509bcd073 |
|
4bf5299
Add show.basic().
ericsnowcurrently Jun 22, 2019
| https://github.com/python/cpython/pull/15877/commits/4bf5299ebd853d2d9b8b6343872cb31a2309aa40 |
|
c74360f
Implement cmd_show().
ericsnowcurrently Jun 22, 2019
| https://github.com/python/cpython/pull/15877/commits/c74360ff83347686749ea0852dbf29670d0cc909 |
|
b94833d
Add a note about the normalized vartype format.
ericsnowcurrently Jun 22, 2019
| https://github.com/python/cpython/pull/15877/commits/b94833d38b5629803ed36296c427db867c17bab9 |
|
6fecaad
Do not run tests for find.statics() yet.
ericsnowcurrently Jun 22, 2019
| https://github.com/python/cpython/pull/15877/commits/6fecaad0d8ba980d0bd414e9c329b8b55862ee9d |
|
8a53e69
Implement cmd_check().
ericsnowcurrently Jun 22, 2019
| https://github.com/python/cpython/pull/15877/commits/8a53e698ceee39d6c32172ea0d80a36fa29797cf |
|
98d3737
Add scan.iter_statics().
ericsnowcurrently Jun 22, 2019
| https://github.com/python/cpython/pull/15877/commits/98d373740664878a24ecd7d4fa0837343d4f87f7 |
|
28e0f99
Add supported.is_supported().
ericsnowcurrently Jun 22, 2019
| https://github.com/python/cpython/pull/15877/commits/28e0f99d21666ee33d730406256c8d239c178e60 |
|
1d6696c
Add find.statics().
ericsnowcurrently Jun 22, 2019
| https://github.com/python/cpython/pull/15877/commits/1d6696c4b154bdcb05584a13c3bb148efc4de1d3 |
|
7e09aa4
Sort the output.
ericsnowcurrently Jun 23, 2019
| https://github.com/python/cpython/pull/15877/commits/7e09aa43ce037c60ba05c35a3467f30e3ddc4c02 |
|
265098d
Implement scan.iter_statics().
ericsnowcurrently Jun 23, 2019
| https://github.com/python/cpython/pull/15877/commits/265098d3b557a455dd39daa42d4c621f3b69d502 |
|
ac70e2c
Add cg.files.iter_files().
ericsnowcurrently Jun 29, 2019
| https://github.com/python/cpython/pull/15877/commits/ac70e2c04258f4e1c64890efa786e70d33f2d144 |
|
587907c
Add cg.info.Symbol.
ericsnowcurrently Jun 29, 2019
| https://github.com/python/cpython/pull/15877/commits/587907cf61c677599ba0a89da6b9f1d367629611 |
|
6ff136f
Properly handle local variables.
ericsnowcurrently Jun 29, 2019
| https://github.com/python/cpython/pull/15877/commits/6ff136ffa0273bc5e7bac0e965535c52479f2163 |
|
9faeba9
Implement cg.parse.iter_variables().
ericsnowcurrently Jun 29, 2019
| https://github.com/python/cpython/pull/15877/commits/9faeba95ba1ab7f117a25c9a445b20f85bf916a1 |
|
ae5c872
Start the implementation for iter_statements().
ericsnowcurrently Jul 1, 2019
| https://github.com/python/cpython/pull/15877/commits/ae5c872cbfff535b5341ec9e13334fb1f3488475 |
|
0687e09
Deal with comments.
ericsnowcurrently Jul 1, 2019
| https://github.com/python/cpython/pull/15877/commits/0687e098695f620e55b5b4e387997ca98db04cec |
|
a50aa32
Handle functions in iter_global_declarations().
ericsnowcurrently Jul 2, 2019
| https://github.com/python/cpython/pull/15877/commits/a50aa327ced93b89969f80f0c63fd6a4ed188738 |
|
044a1f4
Implement basic variable support.
ericsnowcurrently Jul 2, 2019
| https://github.com/python/cpython/pull/15877/commits/044a1f41003d74fa69a969696eef267b296b1fcb |
|
c7833c1
Implement parse_func().
ericsnowcurrently Jul 2, 2019
| https://github.com/python/cpython/pull/15877/commits/c7833c1d6d753c284d93ea799160c118037fe359 |
|
2c164cd
Implement parse_var().
ericsnowcurrently Jul 2, 2019
| https://github.com/python/cpython/pull/15877/commits/2c164cd9fe97a1760dc98c98dda560864f517fc8 |
|
84cd77e
Ignore files in Include/cpython.
ericsnowcurrently Jul 4, 2019
| https://github.com/python/cpython/pull/15877/commits/84cd77e53d76f571d874e2c2b746ebdb1cb1a8a6 |
|
dc471a3
Rename the c-globals tool directory to be more generic.
ericsnowcurrently Jul 5, 2019
| https://github.com/python/cpython/pull/15877/commits/dc471a37a42b68c3473df828b4ab784f10181c6a |
|
a9c27c5
Add imports_under_tool() CM.
ericsnowcurrently Jul 5, 2019
| https://github.com/python/cpython/pull/15877/commits/a9c27c5485c4bc6b12156479ca5ea42f2126e344 |
|
60dee31
Move the code under Tools (and the tests under test_tools).
ericsnowcurrently Jul 5, 2019
| https://github.com/python/cpython/pull/15877/commits/60dee311708b847c53e3e67821ec0e13b55ff24e |
|
c0f1313
Split up the files properly.
ericsnowcurrently Jul 5, 2019
| https://github.com/python/cpython/pull/15877/commits/c0f13139be3f95157770d4c83cd3ad67e1f63675 |
|
5410467
Factor out c_parser/{source,util}.py and c_symbols/local.py.
ericsnowcurrently Jul 5, 2019
| https://github.com/python/cpython/pull/15877/commits/54104675cb9d444e8d5272222f96d10964fd8ee6 |
|
caac1a9
Factor out preprocessor.py.
ericsnowcurrently Jul 5, 2019
| https://github.com/python/cpython/pull/15877/commits/caac1a9a80eba502da5193c3123a59562dcbe8c6 |
|
928cc96
Factor out _NTBase.
ericsnowcurrently Jul 5, 2019
| https://github.com/python/cpython/pull/15877/commits/928cc96427db3279f659a284c9d6144a86546a5f |
|
baf2bce
Add the wrapped_arg_combos() testing helper.
ericsnowcurrently Jul 10, 2019
| https://github.com/python/cpython/pull/15877/commits/baf2bce3eed9d59b3abdcf42d16143d2cd666540 |
|
57ec889
Add preprocessor.iter_lines().
ericsnowcurrently Jul 26, 2019
| https://github.com/python/cpython/pull/15877/commits/57ec88971474cc144fe0595b96c9ba27bac5c8f1 |
|
400b388
Remove line continuations and comments in preprocessor.iter_lines().
ericsnowcurrently Jul 27, 2019
| https://github.com/python/cpython/pull/15877/commits/400b3883c6615a2e7150eda8aaebaee70f54b3ea |
|
13eb7b1
Fix minor formatting.
ericsnowcurrently Aug 2, 2019
| https://github.com/python/cpython/pull/15877/commits/13eb7b1e7f5f853ddec3a2f482e114b3db397206 |
|
182e3f9
Handle the "ignored" and "known" args to statics().
ericsnowcurrently Aug 2, 2019
| https://github.com/python/cpython/pull/15877/commits/182e3f9d02b2a55509a41472d741947004278323 |
|
ec88a4c
Factor out statics_from_symbols().
ericsnowcurrently Aug 2, 2019
| https://github.com/python/cpython/pull/15877/commits/ec88a4c9e5e3aa4f0d3715c67c4e33444c727236 |
|
a269b15
StaticVar -> Variable.
ericsnowcurrently Aug 2, 2019
| https://github.com/python/cpython/pull/15877/commits/a269b152e9d9c482c0cb184b5792d7578b3e297f |
|
842ef7c
Add statics_from_declarations().
ericsnowcurrently Aug 2, 2019
| https://github.com/python/cpython/pull/15877/commits/842ef7ceed16dcbb079dfa17e5575d57a56a8c73 |
|
853768a
Track the per-variable preprocessor conditions.
ericsnowcurrently Aug 2, 2019
| https://github.com/python/cpython/pull/15877/commits/853768af91cf94bef2e96b51468aa591e03e4d36 |
|
5f1b8b9
Add util.Slot (a descriptor).
ericsnowcurrently Aug 23, 2019
| https://github.com/python/cpython/pull/15877/commits/5f1b8b98d81d8605bbdba0635428f38bf2c58d5a |
|
b850c05
Add util.classonly (a la classmethod).
ericsnowcurrently Aug 23, 2019
| https://github.com/python/cpython/pull/15877/commits/b850c05a0f2cfd333f24e3a71c298ac501b377fd |
|
cde5b32
Add util._NOT_SET.
ericsnowcurrently Aug 23, 2019
| https://github.com/python/cpython/pull/15877/commits/cde5b3220fd00839a7c1c6d7b38db71221071e40 |
|
11377dd
Add _NTBase.from_raw().
ericsnowcurrently Aug 23, 2019
| https://github.com/python/cpython/pull/15877/commits/11377dd87f250f527e276627537351d9cedc3d25 |
|
acbedc7
Add info.ID.
ericsnowcurrently Aug 23, 2019
| https://github.com/python/cpython/pull/15877/commits/acbedc7941fb487f99834c0a88f64222210a4547 |
|
08310bf
Use ID in Symbol.
ericsnowcurrently Aug 23, 2019
| https://github.com/python/cpython/pull/15877/commits/08310bf3c742d5eee9f48c661868e34f77fff86e |
|
1d5e9bf
Use ID in Variable.
ericsnowcurrently Aug 23, 2019
| https://github.com/python/cpython/pull/15877/commits/1d5e9bff22c1b7a00ab1660f93944cd967403792 |
|
0c56fd9
Add a note about a "conditions" slot for info.ID.
ericsnowcurrently Aug 23, 2019
| https://github.com/python/cpython/pull/15877/commits/0c56fd9685e583a0a10407f4e8c21f8595cce79c |
|
9563689
Require Variable to have filename set.
ericsnowcurrently Aug 23, 2019
| https://github.com/python/cpython/pull/15877/commits/9563689db465543cc23d0969b56c5291eca3a890 |
|
7ad89b2
"???" means "unknown".
ericsnowcurrently Aug 23, 2019
| https://github.com/python/cpython/pull/15877/commits/7ad89b20a22320b06693c6b58812d87eaf704c6c |
|
2b2bc66
Make find_local_symbol() a "public" argument.
ericsnowcurrently Aug 24, 2019
| https://github.com/python/cpython/pull/15877/commits/2b2bc66f4b796cd0e7722ec7e322bf2d7da0a281 |
|
1316a3b
Add info.ID.islocal.
ericsnowcurrently Aug 24, 2019
| https://github.com/python/cpython/pull/15877/commits/1316a3b46a962241beeebe863cdd8934e340606f |
|
4bdd9a6
Factor out c_analyzer_common package.
ericsnowcurrently Aug 24, 2019
| https://github.com/python/cpython/pull/15877/commits/4bdd9a622fc969f13d09efa6ea84479741fb19ac |
|
5d52d9f
Move info.Symbol under c_symbols.
ericsnowcurrently Aug 24, 2019
| https://github.com/python/cpython/pull/15877/commits/5d52d9f11bf4426d3a4fb191b0947c497e8aa2ad |
|
d7d0d91
Do not allow Variable.id to have UNKNOWN in it.
ericsnowcurrently Aug 24, 2019
| https://github.com/python/cpython/pull/15877/commits/d7d0d91ee62b40af2b7f604d167d1bf8399ee2a9 |
|
f662b63
Cache Variable.isstatic.
ericsnowcurrently Aug 24, 2019
| https://github.com/python/cpython/pull/15877/commits/f662b63055186c7feb50cf06e0c59adcee61820a |
|
e963103
Move known_from_file() to common/known.py.
ericsnowcurrently Aug 26, 2019
| https://github.com/python/cpython/pull/15877/commits/e9631031c55416dbfa6fc4561c2d8da0aeb8d58b |
|
2cf6d6a
Add look_up_known_symbol() and symbols_to_variables().
ericsnowcurrently Aug 26, 2019
| https://github.com/python/cpython/pull/15877/commits/2cf6d6a866374e4ebc715804bf9a1cac76130c77 |
|
3d80342
Move files.py under common.
ericsnowcurrently Aug 26, 2019
| https://github.com/python/cpython/pull/15877/commits/3d8034262f141bc160695013f92a022c7206f824 |
|
d58c7c4
known_from_file() -> known.from_file().
ericsnowcurrently Aug 26, 2019
| https://github.com/python/cpython/pull/15877/commits/d58c7c49a9ee11026c54e649038bfd2a469d793b |
|
2fca1e7
Make dirnames optional.
ericsnowcurrently Aug 26, 2019
| https://github.com/python/cpython/pull/15877/commits/2fca1e7a069c72ab8cb82816ded7e60d358374e9 |
|
1e34a1a
Drop c_statics.scan.
ericsnowcurrently Aug 26, 2019
| https://github.com/python/cpython/pull/15877/commits/1e34a1a2fbafcd675297fce8d1db9d4886139359 |
|
3f2e4f6
Implement known.from_file() and ignored_from_file().
ericsnowcurrently Aug 26, 2019
| https://github.com/python/cpython/pull/15877/commits/3f2e4f62db1a9217d3faf745725b110097343f66 |
|
3e1657a
Fix REPO_ROOT.
ericsnowcurrently Aug 27, 2019
| https://github.com/python/cpython/pull/15877/commits/3e1657ad9a6e36e0aa899e15612ca83ef49cb3f9 |
|
a2779b4
Various minor fixes to get to stable.
ericsnowcurrently Aug 27, 2019
| https://github.com/python/cpython/pull/15877/commits/a2779b4a1e30d2dd0c3dbe0b656b2acc699b7aef |
|
89b887a
Add util.read_tsv() and util.write_tsv().
ericsnowcurrently Aug 27, 2019
| https://github.com/python/cpython/pull/15877/commits/89b887a12e055232a08d41310770fcfa68db415a |
|
89a02c3
Treat "-" in .tsv file as None.
ericsnowcurrently Aug 27, 2019
| https://github.com/python/cpython/pull/15877/commits/89a02c3adab61f33d41d4923b17d74f03e147d5c |
|
697ab59
Fix the statics_from_binary() tests.
ericsnowcurrently Aug 27, 2019
| https://github.com/python/cpython/pull/15877/commits/697ab5987f12b818691fb9a3c4f3a5d9b94cd790 |
|
66a69c4
Add code to generate known.tsv.
ericsnowcurrently Aug 27, 2019
| https://github.com/python/cpython/pull/15877/commits/66a69c4b45e205fe690a07597fa523d1ca406a39 |
|
411aadd
Fix a typo in get_resolver().
ericsnowcurrently Aug 27, 2019
| https://github.com/python/cpython/pull/15877/commits/411aadd9b4a7c5039a076c6fcc03bee2a2abfeef |
|
3bfb345
Fix a typo in _find_statics().
ericsnowcurrently Aug 27, 2019
| https://github.com/python/cpython/pull/15877/commits/3bfb3450e2d24491f53e785822566bd4ec838a0b |
|
9d731e7
Implement is_supported() (first pass).
ericsnowcurrently Aug 27, 2019
| https://github.com/python/cpython/pull/15877/commits/9d731e7084d0ed77b5fccb042a2e8c927561197b |
|
021be3c
Show the vartype in the basic output format.
ericsnowcurrently Aug 27, 2019
| https://github.com/python/cpython/pull/15877/commits/021be3c942f37d66ed2e1e3a6762e0f4cadc6f2c |
|
f620135
Use the underlying ID for the hash of Symbol and Variable.
ericsnowcurrently Aug 28, 2019
| https://github.com/python/cpython/pull/15877/commits/f62013589d8bfae3b00d85d3f1409fc9990a7b61 |
|
e7a029d
Move constants out of c_statics.__init__.
ericsnowcurrently Aug 28, 2019
| https://github.com/python/cpython/pull/15877/commits/e7a029d847ec16d61d0996b6e2f20b1dd12f42f4 |
|
b99c9f2
Fix a typo.
ericsnowcurrently Aug 28, 2019
| https://github.com/python/cpython/pull/15877/commits/b99c9f207b20f1a3f30e618db5e5cf6495c8b825 |
|
3aeb32d
Clean up iter_files().
ericsnowcurrently Aug 28, 2019
| https://github.com/python/cpython/pull/15877/commits/3aeb32d05e1df8bb0bba242a60e2fb5cc3e816c8 |
|
8a97e50
Fix typos.
ericsnowcurrently Aug 31, 2019
| https://github.com/python/cpython/pull/15877/commits/8a97e503190b92e6a9affbbc3038eb290fef0ed1 |
|
51d5a19
Minor fix to find/resolve.
ericsnowcurrently Sep 2, 2019
| https://github.com/python/cpython/pull/15877/commits/51d5a195de752d99ae6972e8785e9a793de8bc78 |
|
19b9f97
Include ID in error message.
ericsnowcurrently Sep 2, 2019
| https://github.com/python/cpython/pull/15877/commits/19b9f97964d8ce534ac8539bd7e36f1fbdc86b44 |
|
a9c68c5
Add some "naive" parsing tools.
ericsnowcurrently Sep 2, 2019
| https://github.com/python/cpython/pull/15877/commits/a9c68c56b0912332ecc66e0e6a55d9a838efc12d |
|
2af6781
Expand the capability of the "known" generator.
ericsnowcurrently Sep 2, 2019
| https://github.com/python/cpython/pull/15877/commits/2af678175f524952b40a97d262f23711ee2a02a6 |
|
aa8495a
Update the "known" variables with generated values.
ericsnowcurrently Sep 2, 2019
| https://github.com/python/cpython/pull/15877/commits/aa8495abfffee3bcccf9d0a6371f3ba4a24018bc |
|
921a465
Consider all known variables as static.
ericsnowcurrently Sep 2, 2019
| https://github.com/python/cpython/pull/15877/commits/921a4651d079926d38575099b1566bb46f62bee9 |
|
48b2460
Distinguish "static" vars in output.
ericsnowcurrently Sep 3, 2019
| https://github.com/python/cpython/pull/15877/commits/48b2460066ed1ce1ba76db44c441d80334abf447 |
|
c0a631b
Special-case variables named "id".
ericsnowcurrently Sep 6, 2019
| https://github.com/python/cpython/pull/15877/commits/c0a631bd1f1a4509d6c6f105178ebfd417c6091d |
|
3989a69
Fix a test.
ericsnowcurrently Sep 6, 2019
| https://github.com/python/cpython/pull/15877/commits/3989a69dae2cbf2ef41b81f54438d87f67b1676f |
|
8118454
Print totals.
ericsnowcurrently Sep 6, 2019
| https://github.com/python/cpython/pull/15877/commits/8118454a5e0c5105bc5b7a7e9a004f5763385817 |
|
cae5e3a
Fail if we couldn't find any of the symbols.
ericsnowcurrently Sep 6, 2019
| https://github.com/python/cpython/pull/15877/commits/cae5e3ac78d508cb1ca8eafdca998a7426623109 |
|
87ebe87
Factor out _check_results().
ericsnowcurrently Sep 8, 2019
| https://github.com/python/cpython/pull/15877/commits/87ebe87ae02cb80f4e0d676201122924b8ad9106 |
|
91e4fb1
Fill in gaps in known.tsv.
ericsnowcurrently Sep 8, 2019
| https://github.com/python/cpython/pull/15877/commits/91e4fb1ab0e8f86b10e448a62bc54fa908fa78b6 |
|
21c4175
Mark _Py_IDENTIFIER() as unsupported.
ericsnowcurrently Sep 8, 2019
| https://github.com/python/cpython/pull/15877/commits/21c41757b3d4e6b0861de574c0d1d2ad6c345c2c |
|
a245849
Keep "static" in output.
ericsnowcurrently Sep 8, 2019
| https://github.com/python/cpython/pull/15877/commits/a245849e141a1de9b25dec7873541e259af04fff |
|
1437d56
Fix a typo in __main__.py.
ericsnowcurrently Sep 8, 2019
| https://github.com/python/cpython/pull/15877/commits/1437d56b5ef52e818cda7ebaf96dfb90bed7b204 |
|
7feea9d
Honor provided dirnames.
ericsnowcurrently Sep 8, 2019
| https://github.com/python/cpython/pull/15877/commits/7feea9d38a8af2843ab2a348b634e6ab6203bb99 |
|
ae23801
Fix tests.
ericsnowcurrently Sep 8, 2019
| https://github.com/python/cpython/pull/15877/commits/ae238018091092b8e7a478012a986c2f0835b9ca |
|
26aaccb
Deal with default dirnames properly.
ericsnowcurrently Sep 8, 2019
| https://github.com/python/cpython/pull/15877/commits/26aaccbf7cae90361a4333d1566bb79b69444aff |
|
4aaad5f
Supporting hiding objects in output.
ericsnowcurrently Sep 8, 2019
| https://github.com/python/cpython/pull/15877/commits/4aaad5fe998edb5086f2277c926102ae86d336fd |
|
3d36cfc
Recognize more object types.
ericsnowcurrently Sep 8, 2019
| https://github.com/python/cpython/pull/15877/commits/3d36cfcdf1b207a6cf5c2026594f4a238ba73043 |
|
b7420d5
Ignore known non-statics.
ericsnowcurrently Sep 8, 2019
| https://github.com/python/cpython/pull/15877/commits/b7420d5b3e78c9200382f8b304c292f58452284a |
|
da151a7
Always support "static const" (non-object) variables.
ericsnowcurrently Sep 9, 2019
| https://github.com/python/cpython/pull/15877/commits/da151a703a309cf83ee163580e8903b70ea6f3d7 |
|
6470eb1
"statics" -> "globals".
ericsnowcurrently Sep 9, 2019
| https://github.com/python/cpython/pull/15877/commits/6470eb109c60f4d1f1f6795f8e8241837312efd9 |
|
1233cf9
Maybe limit the variables in known.tsv.
ericsnowcurrently Sep 10, 2019
| https://github.com/python/cpython/pull/15877/commits/1233cf9ace2e0a624203ee12c367ee303101712d |
|
fc6c97e
Generate the ignored.tsv file.
ericsnowcurrently Sep 10, 2019
| https://github.com/python/cpython/pull/15877/commits/fc6c97ec9955794586978bbb0f4e0e23ecf0ca1d |
|
6f8a223
Ignore variables with benign races.
ericsnowcurrently Sep 10, 2019
| https://github.com/python/cpython/pull/15877/commits/6f8a22394207e730f1fcbfb8c2d369397a3900cd |
|
6c1db44
Mark more variables as PyObject.
ericsnowcurrently Sep 10, 2019
| https://github.com/python/cpython/pull/15877/commits/6c1db44b9a22613b5e542fc94a292a8ddf2751b1 |
|
5888d48
Consider private, non-static globals.
ericsnowcurrently Sep 11, 2019
| https://github.com/python/cpython/pull/15877/commits/5888d4845289bb64859ebfd532603a4fe63b7f28 |
|
cdeb1d9
Update ignored global variables.
ericsnowcurrently Sep 11, 2019
| https://github.com/python/cpython/pull/15877/commits/cdeb1d9f66a9120ad1d05dd26cd362c7805b9d68 |
|
569c57e
Skip the check where "nm" isn't available.
ericsnowcurrently Sep 11, 2019
| https://github.com/python/cpython/pull/15877/commits/569c57e2cc83f8cdf71a2599b07e9a34db2691e0 |
|
7b0745f
Ignore REPL-related variables.
ericsnowcurrently Sep 12, 2019
| https://github.com/python/cpython/pull/15877/commits/7b0745fbef50606326f9d6993f1997b02fab0d68 |
|
b5dd31b
Fix whitespace.
ericsnowcurrently Sep 11, 2019
| https://github.com/python/cpython/pull/15877/commits/b5dd31b4bc212f71f29c069364d3de1f81a6d4bf |
|
Clear filters
| https://github.com/python/cpython/pull/15877/files |
| Please reload this page | https://github.com/python/cpython/pull/15877/files |
| Please reload this page | https://github.com/python/cpython/pull/15877/files |
|
test_check_c_globals.py
| https://github.com/python/cpython/pull/15877/files#diff-d3ab9e5dcae5827bd9d08802eb2c46339e1b8a34daaf8bd2fc776612957a33cf |
|
test_clinic.py
| https://github.com/python/cpython/pull/15877/files#diff-0267fab8cf520e17e208f9f0d8fb6fbd2ec5fb6eb5c7dbab5bc08a01239938bf |
|
__init__.py
| https://github.com/python/cpython/pull/15877/files#diff-c7fce17decb094b7939b53b5cc8d05b3de01034c90a28ff603fa96bffb510372 |
|
__init__.py
| https://github.com/python/cpython/pull/15877/files#diff-959f8beba6acd91e0b5f10c6a0f4c6c4949da2c87b84b25e1fa8fbe1379d881f |
|
__main__.py
| https://github.com/python/cpython/pull/15877/files#diff-ed80db75fdc33438e6cb8b4654666d58e9ac2e67f5c90a5293f162b6cc051505 |
|
__init__.py
| https://github.com/python/cpython/pull/15877/files#diff-7a29817bbcdad32cbcc8d197bcdebf745b52e9a582110181a42b308c05d04f17 |
|
test_files.py
| https://github.com/python/cpython/pull/15877/files#diff-99293eea7d7154e3de64328e663a572ae69e32406e97bb5f4cfa5df7c4b0e32a |
|
test_info.py
| https://github.com/python/cpython/pull/15877/files#diff-b3dede52534a230d5863185c960ffcb5750a79b78e2043e76c52989d92098c3e |
|
test_known.py
| https://github.com/python/cpython/pull/15877/files#diff-8f8970478312417212e6d693971e935387897ca23036988e1a37b431038cb373 |
|
__init__.py
| https://github.com/python/cpython/pull/15877/files#diff-756481395dc92f855172c41e21e1d2b25759ac052db162ce018cc1fb4bfdfec8 |
|
test___main__.py
| https://github.com/python/cpython/pull/15877/files#diff-52384d1beb7616821d9751d689ffb382bace68a8b6b55a9faa3b92eca2859149 |
|
test_find.py
| https://github.com/python/cpython/pull/15877/files#diff-95d92083bb6296ae77eeb940a19bbc6092f93d413dba4f0cafe4537e5b3ec50d |
|
test_functional.py
| https://github.com/python/cpython/pull/15877/files#diff-215e24a09788195c430c866213f97b2eb7d45cef09ae35b76b983ba0fa3705bb |
|
test_show.py
| https://github.com/python/cpython/pull/15877/files#diff-a544a97ae88f5dd19f449197e468d4eca8cf1c9f98b8aff28e1446e9b83ac9ac |
|
test_supported.py
| https://github.com/python/cpython/pull/15877/files#diff-2cfa170a5daf1b6ef081b25502d74e1cdde7568158b9cb75aa0a4d8e4b409442 |
|
__init__.py
| https://github.com/python/cpython/pull/15877/files#diff-4cfea2cf491bb3a7ddaf6c5ba19f98cc8fd12bf034e4f84a15020669e1ab5da5 |
|
test_declarations.py
| https://github.com/python/cpython/pull/15877/files#diff-5e3acd47273cb3936c81b6647146a3745318e0988a6c196ab89caf7eac20a6a8 |
|
test_info.py
| https://github.com/python/cpython/pull/15877/files#diff-ba07f0f8e8af42a08d567746355ff7131013b95c717debcd84f887d2b515bfbf |
|
test_preprocessor.py
| https://github.com/python/cpython/pull/15877/files#diff-5a90bfa034c4a4f691d19231fcd305556b2017a20b0ebbdde9486eb4b242a124 |
|
__init__.py
| https://github.com/python/cpython/pull/15877/files#diff-da6e7d042da4239688a6f5e81e2dd2bf4cba83d96487ce3320c8c5efd4f0058e |
|
test_info.py
| https://github.com/python/cpython/pull/15877/files#diff-07e0bab9dd193112ceda762b0794a19a8b24faf62aadead815ce0d17e47fc904 |
|
util.py
| https://github.com/python/cpython/pull/15877/files#diff-5e7919f02f75c5f9e843c8c58d5516289422e10174e23340e970ea041e58222d |
|
README
| https://github.com/python/cpython/pull/15877/files#diff-ef001db5d73941564c2dc38019b45d11a53fa900206abc1e97aafec7a56561b7 |
|
c-globals.py
| https://github.com/python/cpython/pull/15877/files#diff-d54649db0db316efda01a193148c905e164addf92e2255d7467bb26449d7b222 |
|
__init__.py
| https://github.com/python/cpython/pull/15877/files#diff-adeec3b3bbc162723c6a217076f367d2af6031a9096fdbab1c8b92c3cfaaefda |
|
_generate.py
| https://github.com/python/cpython/pull/15877/files#diff-68f1b90d8afa6aa6e9fa96153816e12a142852ad6ef85578f5d748b4f76db553 |
|
files.py
| https://github.com/python/cpython/pull/15877/files#diff-db967cc136236facfaee59b23c97ec8fe3a6c174332a0bcb998a299d81db9f39 |
|
info.py
| https://github.com/python/cpython/pull/15877/files#diff-6287fcea37b186f534eb995e5992b6803fcd54b00f30713ae2be24f71dc126b6 |
|
known.py
| https://github.com/python/cpython/pull/15877/files#diff-6e224cf9c49f891760f57c4c26392102e0085fc0a04f061219022cc52b56c15f |
|
util.py
| https://github.com/python/cpython/pull/15877/files#diff-5df44b1599d18d4f89e72feece7e5a4d4f2fc496239ecbb273bd925005dac8e2 |
|
README
| https://github.com/python/cpython/pull/15877/files#diff-1ef35f1ea4e36c909586f14192aaee1b0803adc859991c93f959aa4cc82e0eab |
|
__init__.py
| https://github.com/python/cpython/pull/15877/files#diff-ac05d86ccf3538d7386515bbc7895a7dd2a778a9fe8621da624182a412b5d44d |
|
__main__.py
| https://github.com/python/cpython/pull/15877/files#diff-784cc4cbe06c2e07c05ac1a5d82d38071f92457e582144d1f97c337d8f9b133c |
|
find.py
| https://github.com/python/cpython/pull/15877/files#diff-0bf503107e3bbf885a25a0c8134daa13cd7204b4e46545482adcc2c8a2769f7f |
|
show.py
| https://github.com/python/cpython/pull/15877/files#diff-7122fe3143c7d9872f16132c3fa2723a81d2d7c086e12d0a72048bb817d71c9d |
|
supported.py
| https://github.com/python/cpython/pull/15877/files#diff-9eedb816f7acf21b669dc979cfafcd0045515567b6136a098c7fafb6e6057252 |
|
__init__.py
| https://github.com/python/cpython/pull/15877/files#diff-faf31f34e59938e3d08289c5a45f0bfbce355a521df74f1f1de1a0453cb2e310 |
|
declarations.py
| https://github.com/python/cpython/pull/15877/files#diff-fa15037a93450fa14d3ab3b27a5b368859355cead92805e30adf8e211f9d2445 |
|
info.py
| https://github.com/python/cpython/pull/15877/files#diff-531ca48c2334d2f1f81af4bebed72dcecffd4c6159a4e0680039202920263ba1 |
|
naive.py
| https://github.com/python/cpython/pull/15877/files#diff-d302596051142914fca34ccb16ce12098441d574a91aef822fdb4be261db930d |
|
preprocessor.py
| https://github.com/python/cpython/pull/15877/files#diff-3ac6cc4bf0bd46aca02834e07129c6d39124faaf4e7b121f2f90b8cebe1c503b |
|
source.py
| https://github.com/python/cpython/pull/15877/files#diff-4723a12dffdb32be39695b759bc866cabcfacb1a5b12c27dc94977ee0c2067cf |
|
__init__.py
| https://github.com/python/cpython/pull/15877/files#diff-0bf515a147c02e38c58c4409f8054825eed7b1174217586d4f2389e29c2fb0fd |
|
binary.py
| https://github.com/python/cpython/pull/15877/files#diff-c6c7f8888f272af5a2e4c4846cbd0a68d32f4650c89b18c5abfe6a83a843cdba |
|
info.py
| https://github.com/python/cpython/pull/15877/files#diff-110ab9e0719ddcaf1fef2cbeb718b97bc06e30681c87eb854250de20f67a9fb0 |
|
resolve.py
| https://github.com/python/cpython/pull/15877/files#diff-98dbc42ded8fc0473ef3bce37334321dfdc8b573e8e9c70e33569a8ccbae1405 |
|
source.py
| https://github.com/python/cpython/pull/15877/files#diff-c3ccc088758e5e9a3c708a89f30fbd898907a08a35a0d0c06a3852b6f4ed15f3 |
|
check-c-globals.py
| https://github.com/python/cpython/pull/15877/files#diff-586cea3569f4947616b9bb2f3448143452aa22441115e5568ee0030647881ede |
|
ignored-globals.txt
| https://github.com/python/cpython/pull/15877/files#diff-f4f489de1d70c3f3b407a5f734edc377bfc3bf438e1fd3f234b4e4c7a5f39a65 |
|
ignored.tsv
| https://github.com/python/cpython/pull/15877/files#diff-5a4e2dfd1e409d9c613cf857732db37e1cb9d06cc57b030e4af99580cbff79ce |
|
known.tsv
| https://github.com/python/cpython/pull/15877/files#diff-0adadef4ec04b421270a12bda5793b3c5510b9c8f10a94cee63357e0ced540d7 |
| Lib/test/test_check_c_globals.py | https://github.com/python/cpython/pull/15877/files#diff-d3ab9e5dcae5827bd9d08802eb2c46339e1b8a34daaf8bd2fc776612957a33cf |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/b5dd31b4bc212f71f29c069364d3de1f81a6d4bf/Lib/test/test_check_c_globals.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/15877/{{ revealButtonHref }} |
| Lib/test/test_clinic.py | https://github.com/python/cpython/pull/15877/files#diff-0267fab8cf520e17e208f9f0d8fb6fbd2ec5fb6eb5c7dbab5bc08a01239938bf |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/b5dd31b4bc212f71f29c069364d3de1f81a6d4bf/Lib/test/test_clinic.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/15877/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/15877/files#diff-0267fab8cf520e17e208f9f0d8fb6fbd2ec5fb6eb5c7dbab5bc08a01239938bf |
|
| https://github.com/python/cpython/pull/15877/files#diff-0267fab8cf520e17e208f9f0d8fb6fbd2ec5fb6eb5c7dbab5bc08a01239938bf |
| Lib/test/test_tools/__init__.py | https://github.com/python/cpython/pull/15877/files#diff-c7fce17decb094b7939b53b5cc8d05b3de01034c90a28ff603fa96bffb510372 |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/b5dd31b4bc212f71f29c069364d3de1f81a6d4bf/Lib/test/test_tools/__init__.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/15877/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/15877/files#diff-c7fce17decb094b7939b53b5cc8d05b3de01034c90a28ff603fa96bffb510372 |
| Lib/test/test_tools/test_c_analyzer/__init__.py | https://github.com/python/cpython/pull/15877/files#diff-959f8beba6acd91e0b5f10c6a0f4c6c4949da2c87b84b25e1fa8fbe1379d881f |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/b5dd31b4bc212f71f29c069364d3de1f81a6d4bf/Lib/test/test_tools/test_c_analyzer/__init__.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/15877/{{ revealButtonHref }} |
| Lib/test/test_tools/test_c_analyzer/__main__.py | https://github.com/python/cpython/pull/15877/files#diff-ed80db75fdc33438e6cb8b4654666d58e9ac2e67f5c90a5293f162b6cc051505 |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/b5dd31b4bc212f71f29c069364d3de1f81a6d4bf/Lib/test/test_tools/test_c_analyzer/__main__.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/15877/{{ revealButtonHref }} |
| Lib/test/test_tools/test_c_analyzer/test_c_analyzer_common/__init__.py | https://github.com/python/cpython/pull/15877/files#diff-7a29817bbcdad32cbcc8d197bcdebf745b52e9a582110181a42b308c05d04f17 |
|
View file
| https://github.com/ericsnowcurrently/cpython/blob/b5dd31b4bc212f71f29c069364d3de1f81a6d4bf/Lib/test/test_tools/test_c_analyzer/test_c_analyzer_common/__init__.py |
|
Open in desktop
| https://desktop.github.com |
| Please reload this page | https://github.com/python/cpython/pull/15877/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 |