-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bpo-36876: Add a tool that identifies unsupported global C variables. #15877
bpo-36876: Add a tool that identifies unsupported global C variables. #15877
Conversation
115 commits, 51 files changes, and wow, that's a huge PR. |
" bpo-36876: Make sure no new globals get added." So far, the C API don't provide any solution for function "static PyObject *local_global_var = ...;" :-) |
23e9d06
to
de1f50f
Compare
Yeah, it's a lot, but it's all under Tools/. :) Also, I've updated the title to be more clear. |
de1f50f
to
569c57e
Compare
FYI, all the failures are strictly with patchcheck, which is complaining about whitespace in some files. I cannot reproduce that locally. |
@ericsnowcurrently: Please replace |
This PR does 2 things:
For now the test is marked as a known failure. I'll be working to fix all of unsupported globals, at which point I'll unmark the test.
Note that this PR adds code to
Tools/c-analyzer
or adds new tests. The only existing code I touch is where I factor out an existing testing helper from tests for another tool.https://bugs.python.org/issue36876