René's URL Explorer Experiment


Title: gh-160359: Accept older musl `getdents64` buffer declarations by zanieb · Pull Request #160365 · python/cpython · GitHub

Open Graph Title: gh-160359: Accept older musl `getdents64` buffer declarations by zanieb · Pull Request #160365 · python/cpython

X Title: gh-160359: Accept older musl `getdents64` buffer declarations by zanieb · Pull Request #160365 · python/cpython

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

Open Graph Description: Older musl headers expose getdents64 as an alias for getdents, whose buffer parameter is struct dirent *. Passing the raw character buffer triggers an incompatible-pointer diagnostic. Pass it throu...

X Description: Older musl headers expose getdents64 as an alias for getdents, whose buffer parameter is struct dirent *. Passing the raw character buffer triggers an incompatible-pointer diagnostic. Pass it throu...

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

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:167b5bc2-3d74-0643-25cf-a45310d5f43e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC5F6:3A73AA:316E7FD:3EAF8CC:6B020696
html-safe-noncec3401bbaf5e3127dc90168aa847ac6b9d357407295c9aa92ba1e50acf21fded2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNUY2OjNBNzNBQTozMTZFN0ZEOjNFQUY4Q0M6NkIwMjA2OTYiLCJ2aXNpdG9yX2lkIjoiOTA2NzA0MjA1ODA3MzY3MTMxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb06fdedfb599a86d7256985492a8fa9497029bd0a12ba7fb7c6aaa7d118c4f34
hovercard-subject-tagpull_request:4974608194
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/160365/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/4ffefc589f705d181fa5a2508fe390a891d529fb128f29de3037deb08ffefd97/python/cpython/pull/160365
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4ffefc589f705d181fa5a2508fe390a891d529fb128f29de3037deb08ffefd97/python/cpython/pull/160365
og:image:altOlder musl headers expose getdents64 as an alias for getdents, whose buffer parameter is struct dirent *. Passing the raw character buffer triggers an incompatible-pointer diagnostic. Pass it throu...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamezanieb
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/160365#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F160365
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%2F160365
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/160365
Reloadhttps://github.com/python/cpython/pull/160365
Reloadhttps://github.com/python/cpython/pull/160365
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
itamarohttps://github.com/itamaro
python:mainhttps://github.com/python/cpython/tree/main
zanieb:pbs/musl-getdents64-upstreamhttps://github.com/zanieb/cpython/tree/pbs/musl-getdents64-upstream
Conversationhttps://github.com/python/cpython/pull/160365
Commits3 (3)https://github.com/python/cpython/pull/160365/commits
Checkshttps://github.com/python/cpython/pull/160365/checks
Files changedhttps://github.com/python/cpython/pull/160365/files
gh-160359: Accept older musl getdents64 buffer declarationshttps://github.com/python/cpython/pull/160365#top
itamarohttps://github.com/itamaro
python:mainhttps://github.com/python/cpython/tree/main
zanieb:pbs/musl-getdents64-upstreamhttps://github.com/zanieb/cpython/tree/pbs/musl-getdents64-upstream
https://github.com/zanieb
zaniebhttps://github.com/zanieb
Oct 22, 2026https://github.com/python/cpython/pull/160365#issue-5988029756
Please reload this pagehttps://github.com/python/cpython/pull/160365
patch-posixsubprocess-musl-getdents64.patchhttps://github.com/astral-sh/python-build-standalone/blob/0c5e581b54a4736cdbbe68bdd6d7e571a1dca11e/cpython-unix/patch-posixsubprocess-musl-getdents64.patch
#160359https://github.com/python/cpython/issues/160359
_posixsubprocess passes an incompatible buffer to older musl getdents64 #160359https://github.com/python/cpython/issues/160359
Please reload this pagehttps://github.com/python/cpython/pull/160365
https://github.com/zanieb
pythongh-160359https://github.com/python/cpython/issues/160359
: Accept older muslhttps://github.com/python/cpython/pull/160365/commits/6b4cecafa34f3aa91ff49697fb8bb21d3c3c525e
getdents64https://github.com/python/cpython/pull/160365/commits/6b4cecafa34f3aa91ff49697fb8bb21d3c3c525e
buffer declarationshttps://github.com/python/cpython/pull/160365/commits/6b4cecafa34f3aa91ff49697fb8bb21d3c3c525e
6b4cecahttps://github.com/python/cpython/pull/160365/commits/6b4cecafa34f3aa91ff49697fb8bb21d3c3c525e
https://github.com/zanieb
zaniebhttps://github.com/zanieb
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Oct 22, 2026https://github.com/python/cpython/pull/160365#event-33997092170
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 22, 2026 https://github.com/python/cpython/pull/160365#ref-issue-5987989234
_posixsubprocess passes an incompatible buffer to older musl getdents64 #160359 https://github.com/python/cpython/issues/160359
https://github.com/zaniebot
zaniebothttps://github.com/zaniebot
Oct 22, 2026 https://github.com/python/cpython/pull/160365#ref-pullrequest-5966155680
Accept older musl getdents64 buffer declarations zanieb/cpython#20 https://github.com/zanieb/cpython/pull/20
https://github.com/zanieb
zaniebhttps://github.com/zanieb
October 22, 2026 21:55https://github.com/python/cpython/pull/160365#event-33997316821
https://github.com/zanieb
zaniebhttps://github.com/zanieb
gpsheadhttps://github.com/gpshead
code ownerhttps://github.com/python/cpython/blob/d98f2cba6131b72a8762a64f4f7af19706beb966/.github/CODEOWNERS#L589
October 22, 2026 21:55https://github.com/python/cpython/pull/160365#event-33997317534
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Oct 22, 2026https://github.com/python/cpython/pull/160365#event-33997320853
https://github.com/zanieb
zaniebhttps://github.com/zanieb
itamarohttps://github.com/itamaro
October 22, 2026 22:01https://github.com/python/cpython/pull/160365#event-33997767558
https://github.com/itamaro
itamarohttps://github.com/itamaro
Oct 22, 2026 https://github.com/python/cpython/pull/160365#pullrequestreview-5621511456
View reviewed changes https://github.com/python/cpython/pull/160365/files/6b4cecafa34f3aa91ff49697fb8bb21d3c3c525e
itamarohttps://github.com/itamaro
https://github.com/python/cpython/pull/160365#pullrequestreview-5621511456
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/160365
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 review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Oct 22, 2026https://github.com/python/cpython/pull/160365#event-33998511879
https://github.com/itamaro
itamarohttps://github.com/itamaro
October 22, 2026 22:20https://github.com/python/cpython/pull/160365#event-33998951184
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
Oct 22, 2026 https://github.com/python/cpython/pull/160365#pullrequestreview-5622140949
View reviewed changes https://github.com/python/cpython/pull/160365/files/6b4cecafa34f3aa91ff49697fb8bb21d3c3c525e
gpsheadhttps://github.com/gpshead
https://github.com/python/cpython/pull/160365#pullrequestreview-5622140949
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/160365
https://github.com/gpshead
gpsheadhttps://github.com/gpshead
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
Oct 22, 2026https://github.com/python/cpython/pull/160365#event-34003031129
https://github.com/zanieb
zaniebhttps://github.com/zanieb
Oct 22, 2026https://github.com/python/cpython/pull/160365#issuecomment-6353786332
Please reload this pagehttps://github.com/python/cpython/pull/160365
https://github.com/zanieb
zaniebhttps://github.com/zanieb
Oct 22, 2026 https://github.com/python/cpython/pull/160365#pullrequestreview-5622347968
View reviewed changes https://github.com/python/cpython/pull/160365/files/6b4cecafa34f3aa91ff49697fb8bb21d3c3c525e
Modules/_posixsubprocess.chttps://github.com/python/cpython/pull/160365/files/6b4cecafa34f3aa91ff49697fb8bb21d3c3c525e#diff-e182817ec4633ebe50bbfa9a6d0b7c00be01307f5457abfc85f9689055be908b
Please reload this pagehttps://github.com/python/cpython/pull/160365
https://github.com/zanieb
Apply suggestion fromhttps://github.com/python/cpython/pull/160365/commits/dfbc0e9b09b32c615ca98a429cd4e3ea07e347c7
@zaniebhttps://github.com/zanieb
dfbc0e9https://github.com/python/cpython/pull/160365/commits/dfbc0e9b09b32c615ca98a429cd4e3ea07e347c7
https://github.com/zanieb
zaniebhttps://github.com/zanieb
Oct 22, 2026 https://github.com/python/cpython/pull/160365#pullrequestreview-5622353675
View reviewed changes https://github.com/python/cpython/pull/160365/files/dfbc0e9b09b32c615ca98a429cd4e3ea07e347c7
Modules/_posixsubprocess.chttps://github.com/python/cpython/pull/160365/files/dfbc0e9b09b32c615ca98a429cd4e3ea07e347c7#diff-e182817ec4633ebe50bbfa9a6d0b7c00be01307f5457abfc85f9689055be908b
Please reload this pagehttps://github.com/python/cpython/pull/160365
https://github.com/zanieb
Apply suggestion fromhttps://github.com/python/cpython/pull/160365/commits/8ecea48e114e9b6769b5fd19c0d8d81570cff513
@zaniebhttps://github.com/zanieb
8ecea48https://github.com/python/cpython/pull/160365/commits/8ecea48e114e9b6769b5fd19c0d8d81570cff513
https://github.com/zanieb
zaniebhttps://github.com/zanieb
Oct 22, 2026https://github.com/python/cpython/pull/160365#issuecomment-6354008956
Please reload this pagehttps://github.com/python/cpython/pull/160365
https://github.com/itamaro
itamarohttps://github.com/itamaro
Oct 23, 2026https://github.com/python/cpython/pull/160365#issuecomment-6370222632
Please reload this pagehttps://github.com/python/cpython/pull/160365
https://github.com/itamaro
itamarohttps://github.com/itamaro
74c91a6https://github.com/python/cpython/commit/74c91a6fbfa3625cdc850acc99b509cc3d8c6ed0
Oct 23, 2026https://github.com/python/cpython/pull/160365#event-34074732555
Please reload this pagehttps://github.com/python/cpython/pull/160365
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Oct 23, 2026https://github.com/python/cpython/pull/160365#issuecomment-6370546247
@zaniebhttps://github.com/zanieb
@itamarohttps://github.com/itamaro
Please reload this pagehttps://github.com/python/cpython/pull/160365
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 23, 2026https://github.com/python/cpython/pull/160365#event-34074737754
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Oct 23, 2026https://github.com/python/cpython/pull/160365#issuecomment-6370547372
@zaniebhttps://github.com/zanieb
@itamarohttps://github.com/itamaro
cherry_pickerhttps://pypi.org/project/cherry-picker/
devguidehttps://devguide.python.org/getting-started/git-boot-camp/#backporting-merged-changes
Please reload this pagehttps://github.com/python/cpython/pull/160365
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
itamarohttps://github.com/itamaro
Oct 23, 2026https://github.com/python/cpython/pull/160365#event-34074745740
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Oct 23, 2026https://github.com/python/cpython/pull/160365#issuecomment-6370549051
@zaniebhttps://github.com/zanieb
@itamarohttps://github.com/itamaro
cherry_pickerhttps://pypi.org/project/cherry-picker/
devguidehttps://devguide.python.org/getting-started/git-boot-camp/#backporting-merged-changes
Please reload this pagehttps://github.com/python/cpython/pull/160365
https://github.com/zanieb
zaniebhttps://github.com/zanieb
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
Oct 23, 2026https://github.com/python/cpython/pull/160365#event-34077645505
https://github.com/zanieb
zaniebhttps://github.com/zanieb
Oct 23, 2026https://github.com/python/cpython/pull/160365#issuecomment-6371256194
#155518https://github.com/python/cpython/pull/155518
Please reload this pagehttps://github.com/python/cpython/pull/160365
https://github.com/EliteTK
EliteTKhttps://github.com/EliteTK
Oct 26, 2026 https://github.com/python/cpython/pull/160365#ref-pullrequest-5849642351
use getdents64 syscall fallback on musl astral-sh/python-build-standalone#1337 https://github.com/astral-sh/python-build-standalone/pull/1337
https://github.com/jjhelmus
jjhelmushttps://github.com/jjhelmus
Oct 26, 2026 https://github.com/python/cpython/pull/160365#ref-pullrequest-6049965770
Backport upstream getdents64 fix astral-sh/python-build-standalone#1409 https://github.com/astral-sh/python-build-standalone/pull/1409
jjhelmushttps://github.com/jjhelmus
Oct 27, 2026 https://github.com/python/cpython/pull/160365#ref-commit-6866520
https://github.com/jjhelmus
Backport upstream getdents64 fix (https://github.com/astral-sh/python-build-standalone/commit/6866520eb88b78dd4d8fbd14342c9354f05a84d4
#1409https://github.com/astral-sh/python-build-standalone/pull/1409
)https://github.com/astral-sh/python-build-standalone/commit/6866520eb88b78dd4d8fbd14342c9354f05a84d4
6866520https://github.com/astral-sh/python-build-standalone/commit/6866520eb88b78dd4d8fbd14342c9354f05a84d4
python/cpython#160365https://github.com/python/cpython/pull/160365
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%2F160365
https://github.com/gpshead
gpshead https://github.com/gpshead
https://github.com/python/cpython/pull/160365/files/6b4cecafa34f3aa91ff49697fb8bb21d3c3c525e
https://github.com/itamaro
itamaro https://github.com/itamaro
https://github.com/python/cpython/pull/160365/files/6b4cecafa34f3aa91ff49697fb8bb21d3c3c525e
Please reload this pagehttps://github.com/python/cpython/pull/160365
https://github.com/itamaro
itamaro https://github.com/itamaro
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
_posixsubprocess passes an incompatible buffer to older musl getdents64 https://github.com/python/cpython/issues/160359
Please reload this pagehttps://github.com/python/cpython/pull/160365
https://github.com/zanieb
https://github.com/itamaro
https://github.com/gpshead
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.