René's URL Explorer Experiment


Title: gh-158810: Use _Py_TYPEOF in Py_ARRAY_LENGTH() by vstinner · Pull Request #158838 · python/cpython · GitHub

Open Graph Title: gh-158810: Use _Py_TYPEOF in Py_ARRAY_LENGTH() by vstinner · Pull Request #158838 · python/cpython

X Title: gh-158810: Use _Py_TYPEOF in Py_ARRAY_LENGTH() by vstinner · Pull Request #158838 · python/cpython

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

Open Graph Description: Fix the compiler warning "extension used" when building test_cext with clang. test_cext no longer overrides the CC environment variable if it's already defined. test_cext now also lo...

X Description: Fix the compiler warning "extension used" when building test_cext with clang. test_cext no longer overrides the CC environment variable if it's already defined. test_cext...

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

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/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:c1eac6ba-c54b-5767-3594-e0a39a3ce773
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBD3E:361639:3579218:475326A:6B020B46
html-safe-nonce7bd0140de792e09c74af479d333da6b4fbc17318848906d6a5821ec259d93b90
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDNFOjM2MTYzOTozNTc5MjE4OjQ3NTMyNkE6NkIwMjBCNDYiLCJ2aXNpdG9yX2lkIjoiOTE2MjI5NzE3ODQ5OTE4OTU3NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacfabb99a7e53b93fee09cdffb894613228a4e86e3540aa4b87186c14605876ce3
hovercard-subject-tagpull_request:4744985099
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/158838/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/c5fd2a1287d3cd62f19534598ac1e71b854667262ba966a8bee6ba90d93f6986/python/cpython/pull/158838
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c5fd2a1287d3cd62f19534598ac1e71b854667262ba966a8bee6ba90d93f6986/python/cpython/pull/158838
og:image:altFix the compiler warning "extension used" when building test_cext with clang. test_cext no longer overrides the CC environment variable if it's already defined. test_cext now also lo...
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-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/158838#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F158838
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%2F158838
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/158838
Reloadhttps://github.com/python/cpython/pull/158838
Reloadhttps://github.com/python/cpython/pull/158838
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:arraylen_typeofhttps://github.com/vstinner/cpython/tree/arraylen_typeof
Conversationhttps://github.com/python/cpython/pull/158838
Commits2 (2)https://github.com/python/cpython/pull/158838/commits
Checkshttps://github.com/python/cpython/pull/158838/checks
Files changedhttps://github.com/python/cpython/pull/158838/files
gh-158810: Use _Py_TYPEOF in Py_ARRAY_LENGTH()https://github.com/python/cpython/pull/158838#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:arraylen_typeofhttps://github.com/vstinner/cpython/tree/arraylen_typeof
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 5, 2026https://github.com/python/cpython/pull/158838#issue-5712091972
Please reload this pagehttps://github.com/python/cpython/pull/158838
[C API] Py_ARRAY_LENGTH() macro is incompatible with g++ -std=gnu++11 #158810https://github.com/python/cpython/issues/158810
Please reload this pagehttps://github.com/python/cpython/pull/158838
https://github.com/vstinner
pythongh-158810https://github.com/python/cpython/issues/158810
: Use _Py_TYPEOF in Py_ARRAY_LENGTH()https://github.com/python/cpython/pull/158838/commits/c1adc06352ce8a62d82b051fe2312fa9c724667a
c1adc06https://github.com/python/cpython/pull/158838/commits/c1adc06352ce8a62d82b051fe2312fa9c724667a
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Oct 5, 2026https://github.com/python/cpython/pull/158838#event-32507841669
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 5, 2026 https://github.com/python/cpython/pull/158838#ref-issue-5703873401
[C API] Py_ARRAY_LENGTH() macro is incompatible with g++ -std=gnu++11 #158810 https://github.com/python/cpython/issues/158810
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Oct 5, 2026https://github.com/python/cpython/pull/158838#event-32507851424
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 5, 2026https://github.com/python/cpython/pull/158838#issuecomment-5994595280
Please reload this pagehttps://github.com/python/cpython/pull/158838
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Oct 5, 2026https://github.com/python/cpython/pull/158838#issuecomment-5994596329
@vstinnerhttps://github.com/vstinner
c1adc06https://github.com/python/cpython/commit/c1adc06352ce8a62d82b051fe2312fa9c724667a
https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F158838%2Fmergehttps://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F158838%2Fmerge
Please reload this pagehttps://github.com/python/cpython/pull/158838
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 5, 2026 https://github.com/python/cpython/pull/158838#ref-pullrequest-5704205613
gh-158810: Fix Py_ARRAY_LENGTH() macro on C++ #158812 https://github.com/python/cpython/pull/158812
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 5, 2026https://github.com/python/cpython/pull/158838#issuecomment-5997003226
#151828 (comment)https://github.com/python/cpython/pull/151828#issuecomment-5996549518
Please reload this pagehttps://github.com/python/cpython/pull/158838
https://github.com/chris-eibl
chris-eiblhttps://github.com/chris-eibl
Oct 5, 2026 https://github.com/python/cpython/pull/158838#pullrequestreview-5419223765
View reviewed changes https://github.com/python/cpython/pull/158838/files/99f4d28b446f6218c801511bfe0bc840dcbd2738
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Oct 5, 2026https://github.com/python/cpython/pull/158838#event-32537350827
https://github.com/vstinner
Merge branch 'main' into arraylen_typeofhttps://github.com/python/cpython/pull/158838/commits/99f4d28b446f6218c801511bfe0bc840dcbd2738
99f4d28https://github.com/python/cpython/pull/158838/commits/99f4d28b446f6218c801511bfe0bc840dcbd2738
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
October 5, 2026 19:11https://github.com/python/cpython/pull/158838#event-32538283697
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 5, 2026https://github.com/python/cpython/pull/158838#issuecomment-6005887108
Please reload this pagehttps://github.com/python/cpython/pull/158838
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
85c03d4https://github.com/python/cpython/commit/85c03d47a240247d41799c2075f85f690558534c
Oct 6, 2026https://github.com/python/cpython/pull/158838#event-32555379150
Please reload this pagehttps://github.com/python/cpython/pull/158838
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
October 6, 2026 00:06https://github.com/python/cpython/pull/158838#event-32555380496
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Oct 6, 2026https://github.com/python/cpython/pull/158838#event-32555381970
vstinnerhttps://github.com/vstinner
Oct 13, 2026 https://github.com/python/cpython/pull/158838#ref-commit-152185f
https://github.com/vstinner
[3.15]https://github.com/python/cpython/commit/152185fdf81515df55925e0bebccb9000c34cb11
gh-158810https://github.com/python/cpython/issues/158810
: Fix Py_ARRAY_LENGTH() macro on C++ (https://github.com/python/cpython/commit/152185fdf81515df55925e0bebccb9000c34cb11
#159315https://github.com/python/cpython/pull/159315
)https://github.com/python/cpython/commit/152185fdf81515df55925e0bebccb9000c34cb11
152185fhttps://github.com/python/cpython/commit/152185fdf81515df55925e0bebccb9000c34cb11
gh-158810https://github.com/python/cpython/issues/158810
#158812https://github.com/python/cpython/pull/158812
b2bfbcehttps://github.com/python/cpython/commit/b2bfbce9a2cb00cb75c08230698cde408c130c92
gh-158810https://github.com/python/cpython/issues/158810
#158838https://github.com/python/cpython/pull/158838
85c03d4https://github.com/python/cpython/commit/85c03d47a240247d41799c2075f85f690558534c
vstinnerhttps://github.com/vstinner
Oct 13, 2026 https://github.com/python/cpython/pull/158838#ref-commit-931322b
https://github.com/vstinner
[3.14]https://github.com/python/cpython/commit/931322bccfe073030f49311c10f391ebb539ec18
gh-158810https://github.com/python/cpython/issues/158810
: Fix Py_ARRAY_LENGTH() macro on C++ (https://github.com/python/cpython/commit/931322bccfe073030f49311c10f391ebb539ec18
#159317https://github.com/python/cpython/pull/159317
)https://github.com/python/cpython/commit/931322bccfe073030f49311c10f391ebb539ec18
931322bhttps://github.com/python/cpython/commit/931322bccfe073030f49311c10f391ebb539ec18
gh-158810https://github.com/python/cpython/issues/158810
#159315https://github.com/python/cpython/pull/159315
gh-158810https://github.com/python/cpython/issues/158810
#158812https://github.com/python/cpython/pull/158812
b2bfbcehttps://github.com/python/cpython/commit/b2bfbce9a2cb00cb75c08230698cde408c130c92
gh-158810https://github.com/python/cpython/issues/158810
#158838https://github.com/python/cpython/pull/158838
85c03d4https://github.com/python/cpython/commit/85c03d47a240247d41799c2075f85f690558534c
152185fhttps://github.com/python/cpython/commit/152185fdf81515df55925e0bebccb9000c34cb11
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F158838
https://github.com/chris-eibl
chris-eibl https://github.com/chris-eibl
https://github.com/python/cpython/pull/158838/files/99f4d28b446f6218c801511bfe0bc840dcbd2738
Please reload this pagehttps://github.com/python/cpython/pull/158838
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Please reload this pagehttps://github.com/python/cpython/pull/158838
https://github.com/vstinner
https://github.com/bedevere-bot
https://github.com/chris-eibl
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.