-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-94795: Remove #ifdef __cplusplus from C-only code
#94796
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
Conversation
|
Does this solve an issue? |
|
Edit: The removed code is dead (C compilers never ever declare Edit2: just in case, here's an answer from a linked issue:
|
|
I restored all To reiterate, currently this PR removes chunks of totally dead code because |
|
Closing because nobody evaluated the change as non-cosmetical. |


The PR contains one-type replacements so I don't know how to split them into smaller PRs.
Edit: also removed a dead branch from:
cpython/Python/getcompiler.c
Lines 15 to 19 in cceac5d
.cand internal non-vendored.hfiles have#ifdef __cplusplus#94795