Repository navigation
gh-157695: Check that C API macros start with "Py" #157696
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
e48804c
gh-157695: Check that C API macros start with "Py"
vstinner 0d6621d
Add a comment to the ignore file
vstinner 714f1f5
Remove duplicates
vstinner 44eb795
Fix error message
vstinner 819558a
Remove NEWS entry
vstinner c6af62b
Parse also pyconfig.h.in
vstinner 998dd34
Update Tools/build/check_capi_macros.py
vstinner fa62aac
Update .github/workflows/build.yml
vstinner 6188980
Cleanup regexs
vstinner 8c09a6c
Move the check fro Makefile to pre-commit
vstinner 7c8c77d
Check also if the ignored list is outdated
vstinner 80a2e2f
Parse also #undef in Include/ headers
vstinner d2347d9
Check that the ignore list is sorted
vstinner a63e018
Update Tools/build/check_capi_macros.py
vstinner 86514dc
Accept spaces in more places in regex
vstinner dec9c88
Check for duplicated entires in the ignore list
vstinner d326d3f
Merge branch 'main' into check_capi_macros
vstinner d7a9559
Remove HAVE_FLOAT16 macro from ignore list
vstinner dd15660
Exclude 7 header files
vstinner 4e78617
Combine "define" and "undef"; add line numbers (#19)
encukou File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Remove NEWS entry
- Loading branch information
commit 819558aaee38da57052ee1ca5d32b183b3c11b82
There are no files selected for viewing
3 changes: 0 additions & 3 deletions
3
Misc/NEWS.d/next/C_API/2026-09-17-20-50-56.gh-issue-157695.06UH5M.rst
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.