René's URL Explorer Experiment


Title: gh-157695: Check that C API macros start with "Py" by vstinner · Pull Request #157696 · python/cpython · GitHub

Open Graph Title: gh-157695: Check that C API macros start with "Py" by vstinner · Pull Request #157696 · python/cpython

X Title: gh-157695: Check that C API macros start with "Py" by vstinner · Pull Request #157696 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Add "make check-capi-macros". Ignore existing macros which don't start with "Py", only prevent adding new names which don't respect this convention. Run "make check...

X Description: Add "make check-capi-macros". Ignore existing macros which don't start with "Py", only prevent adding new names which don't respect this conventi...

Opengraph URL: https://github.com/python/cpython/pull/157696

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:b1520804-c801-21be-7f2e-461d95f039ab
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEBC6:AFBD9:17C624B:1F57C79:6B020A05
html-safe-nonce88661252abcc535005c417b24a69e497871e87657542508e8de303f0703bcfd5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkM2OkFGQkQ5OjE3QzYyNEI6MUY1N0M3OTo2QjAyMEEwNSIsInZpc2l0b3JfaWQiOiIxMTYwODc2MzM5ODg1MTE1OTA5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb55862397a21c3d6124df22dbcd959a9c496ad8388a6d071ddd22cec6fc2c86f
hovercard-subject-tagpull_request:4561962723
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/157696/commits
twitter:imagehttps://opengraph.githubassets.com/132a061cb40a3ecbce6dac5eb973e80809bdf1da79db30b9e7e098b78d18da39/python/cpython/pull/157696
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/132a061cb40a3ecbce6dac5eb973e80809bdf1da79db30b9e7e098b78d18da39/python/cpython/pull/157696
og:image:altAdd "make check-capi-macros". Ignore existing macros which don't start with "Py", only prevent adding new names which don't respect this convention. Run "make check...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/157696/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F157696%2Fcommits
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F157696%2Fcommits
Sign uphttps://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%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/157696/commits
Reloadhttps://github.com/python/cpython/pull/157696/commits
Reloadhttps://github.com/python/cpython/pull/157696/commits
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:check_capi_macroshttps://github.com/vstinner/cpython/tree/check_capi_macros
Conversationhttps://github.com/python/cpython/pull/157696
Commits20 (20)https://github.com/python/cpython/pull/157696/commits
Checkshttps://github.com/python/cpython/pull/157696/checks
Files changedhttps://github.com/python/cpython/pull/157696/files
gh-157695: Check that C API macros start with "Py"https://github.com/python/cpython/pull/157696/commits#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:check_capi_macroshttps://github.com/vstinner/cpython/tree/check_capi_macros
gh-157695: Check that C API macros start with "Py"https://github.com/python/cpython/pull/157696/commits/e48804c904f43d07498d4c6235a1e306b90cb215
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
e48804chttps://github.com/python/cpython/pull/157696/commits/e48804c904f43d07498d4c6235a1e306b90cb215
https://github.com/python/cpython/tree/e48804c904f43d07498d4c6235a1e306b90cb215
Add a comment to the ignore filehttps://github.com/python/cpython/pull/157696/commits/0d6621d6d531891183a26a57d1251139c3bcdcfb
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
0d6621dhttps://github.com/python/cpython/pull/157696/commits/0d6621d6d531891183a26a57d1251139c3bcdcfb
https://github.com/python/cpython/tree/0d6621d6d531891183a26a57d1251139c3bcdcfb
Remove duplicateshttps://github.com/python/cpython/pull/157696/commits/714f1f576cf3b1ed4f477a6955d1225d9b34cad6
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
714f1f5https://github.com/python/cpython/pull/157696/commits/714f1f576cf3b1ed4f477a6955d1225d9b34cad6
https://github.com/python/cpython/tree/714f1f576cf3b1ed4f477a6955d1225d9b34cad6
Fix error messagehttps://github.com/python/cpython/pull/157696/commits/44eb795823c04d43a29d4a7b9b63a1a99b9d9593
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
44eb795https://github.com/python/cpython/pull/157696/commits/44eb795823c04d43a29d4a7b9b63a1a99b9d9593
https://github.com/python/cpython/tree/44eb795823c04d43a29d4a7b9b63a1a99b9d9593
Remove NEWS entryhttps://github.com/python/cpython/pull/157696/commits/819558aaee38da57052ee1ca5d32b183b3c11b82
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
819558ahttps://github.com/python/cpython/pull/157696/commits/819558aaee38da57052ee1ca5d32b183b3c11b82
https://github.com/python/cpython/tree/819558aaee38da57052ee1ca5d32b183b3c11b82
Parse also pyconfig.h.inhttps://github.com/python/cpython/pull/157696/commits/c6af62b70df1c48673c400122880ea681ae33a5c
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
c6af62bhttps://github.com/python/cpython/pull/157696/commits/c6af62b70df1c48673c400122880ea681ae33a5c
https://github.com/python/cpython/tree/c6af62b70df1c48673c400122880ea681ae33a5c
Update Tools/build/check_capi_macros.pyhttps://github.com/python/cpython/pull/157696/commits/998dd34dbd39ceb163edeec7a4dfb9a515b9ab80
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
ZeroIntensityhttps://github.com/python/cpython/commits?author=ZeroIntensity
998dd34https://github.com/python/cpython/pull/157696/commits/998dd34dbd39ceb163edeec7a4dfb9a515b9ab80
https://github.com/python/cpython/tree/998dd34dbd39ceb163edeec7a4dfb9a515b9ab80
Update .github/workflows/build.ymlhttps://github.com/python/cpython/pull/157696/commits/fa62aacc1d448846b0de8b5dc9e73cf82ceb8a01
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
ZeroIntensityhttps://github.com/python/cpython/commits?author=ZeroIntensity
fa62aachttps://github.com/python/cpython/pull/157696/commits/fa62aacc1d448846b0de8b5dc9e73cf82ceb8a01
https://github.com/python/cpython/tree/fa62aacc1d448846b0de8b5dc9e73cf82ceb8a01
Cleanup regexshttps://github.com/python/cpython/pull/157696/commits/6188980c5a6668e78ccc3ca95d0e5d92270992df
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
6188980https://github.com/python/cpython/pull/157696/commits/6188980c5a6668e78ccc3ca95d0e5d92270992df
https://github.com/python/cpython/tree/6188980c5a6668e78ccc3ca95d0e5d92270992df
Move the check fro Makefile to pre-commithttps://github.com/python/cpython/pull/157696/commits/8c09a6c01ec22d40b80692f23128e717a8467c92
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
8c09a6chttps://github.com/python/cpython/pull/157696/commits/8c09a6c01ec22d40b80692f23128e717a8467c92
https://github.com/python/cpython/tree/8c09a6c01ec22d40b80692f23128e717a8467c92
Check also if the ignored list is outdatedhttps://github.com/python/cpython/pull/157696/commits/7c8c77ddb56d9374b93d7f0515a9ceb689738a17
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
7c8c77dhttps://github.com/python/cpython/pull/157696/commits/7c8c77ddb56d9374b93d7f0515a9ceb689738a17
https://github.com/python/cpython/tree/7c8c77ddb56d9374b93d7f0515a9ceb689738a17
Parse also #undef in Include/ headershttps://github.com/python/cpython/pull/157696/commits/80a2e2f6009e7622c3f091a98b83d0e8fbce5f93
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
80a2e2fhttps://github.com/python/cpython/pull/157696/commits/80a2e2f6009e7622c3f091a98b83d0e8fbce5f93
https://github.com/python/cpython/tree/80a2e2f6009e7622c3f091a98b83d0e8fbce5f93
Check that the ignore list is sortedhttps://github.com/python/cpython/pull/157696/commits/d2347d953d8d5b721150e7b775fad5df087201a4
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
d2347d9https://github.com/python/cpython/pull/157696/commits/d2347d953d8d5b721150e7b775fad5df087201a4
https://github.com/python/cpython/tree/d2347d953d8d5b721150e7b775fad5df087201a4
Update Tools/build/check_capi_macros.pyhttps://github.com/python/cpython/pull/157696/commits/a63e01867891db2e06454afab6e63ff6064fef3b
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
hugovkhttps://github.com/python/cpython/commits?author=hugovk
a63e018https://github.com/python/cpython/pull/157696/commits/a63e01867891db2e06454afab6e63ff6064fef3b
https://github.com/python/cpython/tree/a63e01867891db2e06454afab6e63ff6064fef3b
Accept spaces in more places in regexhttps://github.com/python/cpython/pull/157696/commits/86514dc947799f70c5386d41e40db85af0a436ad
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
86514dchttps://github.com/python/cpython/pull/157696/commits/86514dc947799f70c5386d41e40db85af0a436ad
https://github.com/python/cpython/tree/86514dc947799f70c5386d41e40db85af0a436ad
Check for duplicated entires in the ignore listhttps://github.com/python/cpython/pull/157696/commits/dec9c888af45d003fbf52507c977eef0fb1ceba8
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
dec9c88https://github.com/python/cpython/pull/157696/commits/dec9c888af45d003fbf52507c977eef0fb1ceba8
https://github.com/python/cpython/tree/dec9c888af45d003fbf52507c977eef0fb1ceba8
Merge branch 'main' into check_capi_macroshttps://github.com/python/cpython/pull/157696/commits/d326d3f5be556b4f3c98bb7fe2ce473af28e7bfd
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
d326d3fhttps://github.com/python/cpython/pull/157696/commits/d326d3f5be556b4f3c98bb7fe2ce473af28e7bfd
https://github.com/python/cpython/tree/d326d3f5be556b4f3c98bb7fe2ce473af28e7bfd
Remove HAVE_FLOAT16 macro from ignore listhttps://github.com/python/cpython/pull/157696/commits/d7a9559a788e1e933545fbe42fc2b520ee2ac3f0
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
d7a9559https://github.com/python/cpython/pull/157696/commits/d7a9559a788e1e933545fbe42fc2b520ee2ac3f0
https://github.com/python/cpython/tree/d7a9559a788e1e933545fbe42fc2b520ee2ac3f0
Exclude 7 header fileshttps://github.com/python/cpython/pull/157696/commits/dd15660fd5b28734d411836871783a909c3dfab1
https://github.com/vstinner
vstinnerhttps://github.com/python/cpython/commits?author=vstinner
dd15660https://github.com/python/cpython/pull/157696/commits/dd15660fd5b28734d411836871783a909c3dfab1
https://github.com/python/cpython/tree/dd15660fd5b28734d411836871783a909c3dfab1
Combine "define" and "undef"; add line numbers (#19)https://github.com/python/cpython/pull/157696/commits/4e7861707ff87f2e2222214850a70b89d82180e8
https://github.com/encukou
encukouhttps://github.com/python/cpython/commits?author=encukou
4e78617https://github.com/python/cpython/pull/157696/commits/4e7861707ff87f2e2222214850a70b89d82180e8
https://github.com/python/cpython/tree/4e7861707ff87f2e2222214850a70b89d82180e8
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.