René's URL Explorer Experiment


Title: gh-124044: protect macros expansions using `do-while` constructions (WIP) by picnixz · Pull Request #123842 · python/cpython · GitHub

Open Graph Title: gh-124044: protect macros expansions using `do-while` constructions (WIP) by picnixz · Pull Request #123842 · python/cpython

X Title: gh-124044: protect macros expansions using `do-while` constructions (WIP) by picnixz · Pull Request #123842 · python/cpython

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

Open Graph Description: Opening for the CI. I'm just making a large PR and then I'll cherry-pick commits to create branches instead of having hundreds of different branches... Note for myself: #define (\w+)\(.*...

X Description: Opening for the CI. I'm just making a large PR and then I'll cherry-pick commits to create branches instead of having hundreds of different branches... Note for myself: #define (...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3

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:e2c43992-7ca8-523c-ad55-c36bc6f9631a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDB5E:119E6A:40A07D:58C192:6B0685B2
html-safe-nonce62547b79ef8c329c4859c09a8335c08aa1c6e7536014087ed9af09bdc041e691
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjVFOjExOUU2QTo0MEEwN0Q6NThDMTkyOjZCMDY4NUIyIiwidmlzaXRvcl9pZCI6IjM4ODQyMzU0NjA3MDA0Mzk5ODYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac46a0fcee216544d56fcaee06acbcb93ce3c1b987190e8811b7d37e49107774c7
hovercard-subject-tagpull_request:2059780831
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/123842/commits
twitter:imagehttps://opengraph.githubassets.com/fb66c8f3894527118bb048644b025afa6c662fad06cb72e6b80775c6bf617b1f/python/cpython/pull/123842
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fb66c8f3894527118bb048644b025afa6c662fad06cb72e6b80775c6bf617b1f/python/cpython/pull/123842
og:image:altOpening for the CI. I'm just making a large PR and then I'll cherry-pick commits to create branches instead of having hundreds of different branches... Note for myself: #define (\w+)\(.*...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepicnixz
hostnamegithub.com
expected-hostnamegithub.com
None4462ff7ebfd3d551f202659f2423dae617b6849d23b1df6465dc504ef497d14a
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
release6d3909414814ff86ce7da4c51a0f4918a13fb41b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/123842/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F123842%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%2F123842%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/123842/commits
Reloadhttps://github.com/python/cpython/pull/123842/commits
Reloadhttps://github.com/python/cpython/pull/123842/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
picnixzhttps://github.com/picnixz
python:mainhttps://github.com/python/cpython/tree/main
picnixz:chore/do-while-expansionshttps://github.com/picnixz/cpython/tree/chore/do-while-expansions
Conversationhttps://github.com/python/cpython/pull/123842
Commits26 (26)https://github.com/python/cpython/pull/123842/commits
Checkshttps://github.com/python/cpython/pull/123842/checks
Files changedhttps://github.com/python/cpython/pull/123842/files
gh-124044: protect macros expansions using do-while constructions (WIP)https://github.com/python/cpython/pull/123842/commits#top
picnixzhttps://github.com/picnixz
python:mainhttps://github.com/python/cpython/tree/main
picnixz:chore/do-while-expansionshttps://github.com/picnixz/cpython/tree/chore/do-while-expansions
protect `RETURN_WITH_ERROR` macros expansion via `do { ... } while (0)` constructionshttps://github.com/python/cpython/pull/123842/commits/8fe006fc40e29a67e0ec9d2986612544185576e2
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
8fe006fhttps://github.com/python/cpython/pull/123842/commits/8fe006fc40e29a67e0ec9d2986612544185576e2
https://github.com/python/cpython/tree/8fe006fc40e29a67e0ec9d2986612544185576e2
protect `COPY_{NOT_FLAG,FLAG}` macros expansion via `do { ... } while (0)` constructionshttps://github.com/python/cpython/pull/123842/commits/6629a4973155c64dd7ddc804010b7b56c0e946fb
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
6629a49https://github.com/python/cpython/pull/123842/commits/6629a4973155c64dd7ddc804010b7b56c0e946fb
https://github.com/python/cpython/tree/6629a4973155c64dd7ddc804010b7b56c0e946fb
`Python/ast_opt.c`: protect macros expansion via `do { ... } while (0)` constructionshttps://github.com/python/cpython/pull/123842/commits/a4a469eb7efd8882f515c4758d051488e745b96b
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
a4a469ehttps://github.com/python/cpython/pull/123842/commits/a4a469eb7efd8882f515c4758d051488e745b96b
https://github.com/python/cpython/tree/a4a469eb7efd8882f515c4758d051488e745b96b
`Python/ceval_gil.c`: protect macros expansion via `do { ... } while (0)` constructionshttps://github.com/python/cpython/pull/123842/commits/a10560af55a50467826e65b8ff9f38b75ff37e86
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
a10560ahttps://github.com/python/cpython/pull/123842/commits/a10560af55a50467826e65b8ff9f38b75ff37e86
https://github.com/python/cpython/tree/a10560af55a50467826e65b8ff9f38b75ff37e86
`Python/pyhash.c`: protect macros expansion via `do { ... } while (0)` constructionshttps://github.com/python/cpython/pull/123842/commits/b47891059f148fb8d3e42f613d62c8719f017bef
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
b478910https://github.com/python/cpython/pull/123842/commits/b47891059f148fb8d3e42f613d62c8719f017bef
https://github.com/python/cpython/tree/b47891059f148fb8d3e42f613d62c8719f017bef
`Python/optimizer.c`: protect macros expansion via `do { ... } while (0)` constructionshttps://github.com/python/cpython/pull/123842/commits/cd3873f4b63c59bf931a5f029004dbda39ec8b75
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
cd3873fhttps://github.com/python/cpython/pull/123842/commits/cd3873f4b63c59bf931a5f029004dbda39ec8b75
https://github.com/python/cpython/tree/cd3873f4b63c59bf931a5f029004dbda39ec8b75
`Python/perf_jit_trampoline.c`: protect macros expansion via `do { ... } while (0)` constructionshttps://github.com/python/cpython/pull/123842/commits/446ccb5261086180446c209459495e766fa6a442
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
446ccb5https://github.com/python/cpython/pull/123842/commits/446ccb5261086180446c209459495e766fa6a442
https://github.com/python/cpython/tree/446ccb5261086180446c209459495e766fa6a442
`Python/_ssl.c`: protect macros expansion via `do { ... } while (0)` constructionshttps://github.com/python/cpython/pull/123842/commits/c76137a2a7f24076eb2bbc21b21f4ce747e8dd29
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
c76137ahttps://github.com/python/cpython/pull/123842/commits/c76137a2a7f24076eb2bbc21b21f4ce747e8dd29
https://github.com/python/cpython/tree/c76137a2a7f24076eb2bbc21b21f4ce747e8dd29
`Python/specialize.c`: protect macros expansion via `do { ... } while (0)` constructionshttps://github.com/python/cpython/pull/123842/commits/df70f7a9019032bfe6267f36c6a2d778c1ffad6f
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
df70f7ahttps://github.com/python/cpython/pull/123842/commits/df70f7a9019032bfe6267f36c6a2d778c1ffad6f
https://github.com/python/cpython/tree/df70f7a9019032bfe6267f36c6a2d778c1ffad6f
`Python/dtoa.c`: protect macros expansion via `do { ... } while (0)` constructionshttps://github.com/python/cpython/pull/123842/commits/1acfac63cd7723f188c3d9bd3f22a7fc30a8ab44
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
1acfac6https://github.com/python/cpython/pull/123842/commits/1acfac63cd7723f188c3d9bd3f22a7fc30a8ab44
https://github.com/python/cpython/tree/1acfac63cd7723f188c3d9bd3f22a7fc30a8ab44
`Objects/sliceobject.c`: protect macros expansion via `do { ... } while (0)` constructionshttps://github.com/python/cpython/pull/123842/commits/7050840028a4e9ca33d839608e4115662b233cf5
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
7050840https://github.com/python/cpython/pull/123842/commits/7050840028a4e9ca33d839608e4115662b233cf5
https://github.com/python/cpython/tree/7050840028a4e9ca33d839608e4115662b233cf5
`Objects/memoryview.c`: protect macros expansion via `do { ... } while (0)` constructionshttps://github.com/python/cpython/pull/123842/commits/d1942fac11af2fb31dde10c779499cd3ca934873
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
d1942fahttps://github.com/python/cpython/pull/123842/commits/d1942fac11af2fb31dde10c779499cd3ca934873
https://github.com/python/cpython/tree/d1942fac11af2fb31dde10c779499cd3ca934873
`Objects/dictobject.c`: protect macros expansion via `do { ... } while (0)` constructionshttps://github.com/python/cpython/pull/123842/commits/e195b55e186f3bdae78e8ece5c1a01c08692a0c5
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
e195b55https://github.com/python/cpython/pull/123842/commits/e195b55e186f3bdae78e8ece5c1a01c08692a0c5
https://github.com/python/cpython/tree/e195b55e186f3bdae78e8ece5c1a01c08692a0c5
`Modules/posixmodule.c`: protect macros expansion via `do { ... } while (0)` constructionshttps://github.com/python/cpython/pull/123842/commits/1b65e9822975d6f48cdc0b4f5f50b63d6dea34e2
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
1b65e98https://github.com/python/cpython/pull/123842/commits/1b65e9822975d6f48cdc0b4f5f50b63d6dea34e2
https://github.com/python/cpython/tree/1b65e9822975d6f48cdc0b4f5f50b63d6dea34e2
`Modules/getaddrinfo.c`: protect macros expansion via `do { ... } while (0)` constructionshttps://github.com/python/cpython/pull/123842/commits/e32c48a63f3856d6aa38038957a1eede37ebda02
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
e32c48ahttps://github.com/python/cpython/pull/123842/commits/e32c48a63f3856d6aa38038957a1eede37ebda02
https://github.com/python/cpython/tree/e32c48a63f3856d6aa38038957a1eede37ebda02
`Modules/_testcapi/monitoring.c`: protect macros expansion via `do { ... } while (0)` constructionshttps://github.com/python/cpython/pull/123842/commits/44474eb0dd23a2f2bfceb5667e4eb289cba34e6c
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
44474ebhttps://github.com/python/cpython/pull/123842/commits/44474eb0dd23a2f2bfceb5667e4eb289cba34e6c
https://github.com/python/cpython/tree/44474eb0dd23a2f2bfceb5667e4eb289cba34e6c
`Modules/ctypes/_ctypes.c`: protect macros expansion via `do { ... } while (0)` constructionshttps://github.com/python/cpython/pull/123842/commits/ae3adff5939b322ea8cda02b295922af897abf8e
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
ae3adffhttps://github.com/python/cpython/pull/123842/commits/ae3adff5939b322ea8cda02b295922af897abf8e
https://github.com/python/cpython/tree/ae3adff5939b322ea8cda02b295922af897abf8e
`Modules/_csv.c`: protect macros expansion via `do { ... } while (0)` constructionshttps://github.com/python/cpython/pull/123842/commits/0baba9ccbb6d17a6907a4c0ac636800dfbfaf46e
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
0baba9chttps://github.com/python/cpython/pull/123842/commits/0baba9ccbb6d17a6907a4c0ac636800dfbfaf46e
https://github.com/python/cpython/tree/0baba9ccbb6d17a6907a4c0ac636800dfbfaf46e
`Modules/_asynciomodule.c`: protect macros expansion via `do { ... } while (0)` constructionshttps://github.com/python/cpython/pull/123842/commits/21995096eb73e8d352de95371af98e9fb9246b9f
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
2199509https://github.com/python/cpython/pull/123842/commits/21995096eb73e8d352de95371af98e9fb9246b9f
https://github.com/python/cpython/tree/21995096eb73e8d352de95371af98e9fb9246b9f
`Modules/_testlimitedcapi/unicode.c`: protect macros expansion via `do { ... } while (0)` constructionshttps://github.com/python/cpython/pull/123842/commits/b0fbddecc64899a1ec0fe98feb37297760ff5b1e
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
b0fbddehttps://github.com/python/cpython/pull/123842/commits/b0fbddecc64899a1ec0fe98feb37297760ff5b1e
https://github.com/python/cpython/tree/b0fbddecc64899a1ec0fe98feb37297760ff5b1e
`Modules/_testcapi/mem.c`: protect macros expansion via `do { ... } while (0)` constructionshttps://github.com/python/cpython/pull/123842/commits/8eda720bd5f0abe70a1b0fd1d924cd4b7c0efbb3
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
8eda720https://github.com/python/cpython/pull/123842/commits/8eda720bd5f0abe70a1b0fd1d924cd4b7c0efbb3
https://github.com/python/cpython/tree/8eda720bd5f0abe70a1b0fd1d924cd4b7c0efbb3
`Modules/_io/textio.c`: protect macros expansion via `do { ... } while (0)` constructionshttps://github.com/python/cpython/pull/123842/commits/c495a8747097497370553e29cbbf2e4f42fdf42f
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
c495a87https://github.com/python/cpython/pull/123842/commits/c495a8747097497370553e29cbbf2e4f42fdf42f
https://github.com/python/cpython/tree/c495a8747097497370553e29cbbf2e4f42fdf42f
`Modules/_io/stringio.c`: protect macros expansion via `do { ... } while (0)` constructionshttps://github.com/python/cpython/pull/123842/commits/88b98dc9bab0853487b06bbb3de9c4edaf1531e4
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
88b98dchttps://github.com/python/cpython/pull/123842/commits/88b98dc9bab0853487b06bbb3de9c4edaf1531e4
https://github.com/python/cpython/tree/88b98dc9bab0853487b06bbb3de9c4edaf1531e4
`Modules/_io/bytesio.c`: protect macros expansion via `do { ... } while (0)` constructionshttps://github.com/python/cpython/pull/123842/commits/3a9744860be2dc836c03d707596eb1a5782ff69c
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
3a97448https://github.com/python/cpython/pull/123842/commits/3a9744860be2dc836c03d707596eb1a5782ff69c
https://github.com/python/cpython/tree/3a9744860be2dc836c03d707596eb1a5782ff69c
`Modules/_io/bufferedio.c`: protect macros expansion via `do { ... } while (0)` constructionshttps://github.com/python/cpython/pull/123842/commits/160a6c150ba5fd905511256257082d2bc7b4f120
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
160a6c1https://github.com/python/cpython/pull/123842/commits/160a6c150ba5fd905511256257082d2bc7b4f120
https://github.com/python/cpython/tree/160a6c150ba5fd905511256257082d2bc7b4f120
`Modules/_ctypes/cfield.c`: protect macros expansion via `do { ... } while (0)` constructionshttps://github.com/python/cpython/pull/123842/commits/5c90db8206a4dfeffdbdfdf5712df6d92995cad6
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
5c90db8https://github.com/python/cpython/pull/123842/commits/5c90db8206a4dfeffdbdfdf5712df6d92995cad6
https://github.com/python/cpython/tree/5c90db8206a4dfeffdbdfdf5712df6d92995cad6
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.