René's URL Explorer Experiment


Title: gh-153400: Add a syscall fallback for os.statx by jjhelmus · Pull Request #159043 · python/cpython · GitHub

Open Graph Title: gh-153400: Add a syscall fallback for os.statx by jjhelmus · Pull Request #159043 · python/cpython

X Title: gh-153400: Add a syscall fallback for os.statx by jjhelmus · Pull Request #159043 · python/cpython

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

Open Graph Description: Following the pattern in #155520, this adds a syscall fallback for statx. Expose os.statx when built with Linux headers that provide the syscall number and statx struct, even if the build time libc...

X Description: Following the pattern in #155520, this adds a syscall fallback for statx. Expose os.statx when built with Linux headers that provide the syscall number and statx struct, even if the build time libc...

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

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:8b24e03f-5007-e909-1928-5a2126faa632
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD2A6:8AE25:16C0F70:1E23F1B:6B020657
html-safe-nonceb67485d01e2e3f05a68fd522ae773e277f02ea600d559b8ddfaee4bc230d7b60
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMkE2OjhBRTI1OjE2QzBGNzA6MUUyM0YxQjo2QjAyMDY1NyIsInZpc2l0b3JfaWQiOiI1NjE2ODc1MDE2NTEyNzM0ODA4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac78b9bb877293c9fe36a0f5bd0f717a06df96f80ed48146a3de74fc33171175b7
hovercard-subject-tagpull_request:4793721581
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/159043/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/8408be196b0ae1c80628e03934cf252ea3ecaa3d7d271d8a3e0ee7a858d22c65/python/cpython/pull/159043
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8408be196b0ae1c80628e03934cf252ea3ecaa3d7d271d8a3e0ee7a858d22c65/python/cpython/pull/159043
og:image:altFollowing the pattern in #155520, this adds a syscall fallback for statx. Expose os.statx when built with Linux headers that provide the syscall number and statx struct, even if the build time libc...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejjhelmus
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/159043#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F159043
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%2F159043
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/159043
Reloadhttps://github.com/python/cpython/pull/159043
Reloadhttps://github.com/python/cpython/pull/159043
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
jjhelmushttps://github.com/jjhelmus
python:mainhttps://github.com/python/cpython/tree/main
jjhelmus:jjh/statx_syscall_fallbackhttps://github.com/jjhelmus/cpython/tree/jjh/statx_syscall_fallback
Conversationhttps://github.com/python/cpython/pull/159043
Commits3 (3)https://github.com/python/cpython/pull/159043/commits
Checkshttps://github.com/python/cpython/pull/159043/checks
Files changedhttps://github.com/python/cpython/pull/159043/files
gh-153400: Add a syscall fallback for os.statxhttps://github.com/python/cpython/pull/159043#top
jjhelmushttps://github.com/jjhelmus
python:mainhttps://github.com/python/cpython/tree/main
jjhelmus:jjh/statx_syscall_fallbackhttps://github.com/jjhelmus/cpython/tree/jjh/statx_syscall_fallback
https://github.com/jjhelmus
jjhelmushttps://github.com/jjhelmus
Oct 8, 2026https://github.com/python/cpython/pull/159043#issue-5770017679
Please reload this pagehttps://github.com/python/cpython/pull/159043
#155520https://github.com/python/cpython/pull/155520
Resolve newer Linux os functions at runtime instead of compiling them out against old glibc #153400https://github.com/python/cpython/issues/153400
Please reload this pagehttps://github.com/python/cpython/pull/159043
https://github.com/jjhelmus
jjhelmushttps://github.com/jjhelmus
AA-Turnerhttps://github.com/AA-Turner
corona10https://github.com/corona10
emmatypinghttps://github.com/emmatyping
erlend-aaslandhttps://github.com/erlend-aasland
itamarohttps://github.com/itamaro
code ownershttps://github.com/python/cpython/blob/560738126e42208e71fa372c2826f9ccda3e4068/.github/CODEOWNERS#L84
October 8, 2026 22:50https://github.com/python/cpython/pull/159043#event-32831458711
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
type-feature https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature
Oct 8, 2026https://github.com/python/cpython/pull/159043#event-32831462665
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 8, 2026 https://github.com/python/cpython/pull/159043#ref-issue-4844523514
Resolve newer Linux os functions at runtime instead of compiling them out against old glibc #153400 https://github.com/python/cpython/issues/153400
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 8, 2026https://github.com/python/cpython/pull/159043#event-32831464296
gh-158998: Fix os.statx() ignoring follow_symlinks=False #158999 https://github.com/python/cpython/pull/158999
os.statx (new in 3.15) and all its constants are missing from the gnu builds (also the +static musl 1.2.5 builds that have statx) astral-sh/python-build-standalone#1316 https://github.com/astral-sh/python-build-standalone/issues/1316
https://github.com/cmaloney
cmaloneyhttps://github.com/cmaloney
Oct 8, 2026 https://github.com/python/cpython/pull/159043#pullrequestreview-5464072314
View reviewed changes https://github.com/python/cpython/pull/159043/files
Doc/library/os.rsthttps://github.com/python/cpython/pull/159043/files#diff-cd9132e5234678864807ae34a75c5d4d6b894b31c327a4d3620fbd0c37eec16e
Please reload this pagehttps://github.com/python/cpython/pull/159043
https://github.com/KaiErikNiermann
KaiErikNiermannhttps://github.com/KaiErikNiermann
Oct 8, 2026https://github.com/python/cpython/pull/159043#issuecomment-6071361721
cpython/Lib/logging/handlers.pyhttps://github.com/python/cpython/blob/560738126e42208e71fa372c2826f9ccda3e4068/Lib/logging/handlers.py#L288-L290
5607381https://github.com/python/cpython/commit/560738126e42208e71fa372c2826f9ccda3e4068
cpython/Lib/asyncio/unix_events.pyhttps://github.com/python/cpython/blob/560738126e42208e71fa372c2826f9ccda3e4068/Lib/asyncio/unix_events.py#L1025-L1033
5607381https://github.com/python/cpython/commit/560738126e42208e71fa372c2826f9ccda3e4068
Please reload this pagehttps://github.com/python/cpython/pull/159043
jjhelmushttps://github.com/jjhelmus
October 20, 2026 23:27https://github.com/python/cpython/pull/159043#commits-pushed-a87dc23
https://github.com/jjhelmus
https://github.com/ambv
Add a syscall fallback for os.statxhttps://github.com/python/cpython/pull/159043/commits/a87dc23547db9f59fc760485193808c8f9dc8f23
a87dc23https://github.com/python/cpython/pull/159043/commits/a87dc23547db9f59fc760485193808c8f9dc8f23
https://github.com/apps/blurb-it
https://github.com/ambv
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/159043/commits/372ca4814124cb91be7a8b68921bc9dbe6aad521
372ca48https://github.com/python/cpython/pull/159043/commits/372ca4814124cb91be7a8b68921bc9dbe6aad521
https://github.com/ambv
ambvhttps://github.com/ambv
force-pushedhttps://github.com/python/cpython/compare/411cbb0429d2f61ca021c34798e875bb1fdf8eb9..372ca4814124cb91be7a8b68921bc9dbe6aad521
411cbb0https://github.com/python/cpython/commit/411cbb0429d2f61ca021c34798e875bb1fdf8eb9
372ca48https://github.com/python/cpython/commit/372ca4814124cb91be7a8b68921bc9dbe6aad521
Compare https://github.com/python/cpython/compare/411cbb0429d2f61ca021c34798e875bb1fdf8eb9..372ca4814124cb91be7a8b68921bc9dbe6aad521
October 20, 2026 21:29https://github.com/python/cpython/pull/159043#event-33787272436
https://github.com/apps/read-the-docs-community
read-the-docs-communityhttps://github.com/apps/read-the-docs-community
Oct 20, 2026https://github.com/python/cpython/pull/159043#issuecomment-6302365749
Please reload this pagehttps://github.com/python/cpython/pull/159043
cpython-previewshttps://app.readthedocs.org/projects/cpython-previews/
#35285605https://app.readthedocs.org/projects/cpython-previews/builds/35285605/
943aa85https://github.com/python/cpython/commit/943aa85e8f55a3f99472ffed9b3f9b8c7b3ed527
mainhttps://cpython-previews.readthedocs.io/en/main/
80040b6https://github.com/python/cpython/commit/80040b6f6304dfd61bb42142d204f6ddea5c6cee
  🔍 Preview build   https://cpython-previews--159043.org.readthedocs.build/en/159043/
library/ast.htmlhttps://cpython-previews--159043.org.readthedocs.build/en/159043/library/ast.html
library/os.htmlhttps://cpython-previews--159043.org.readthedocs.build/en/159043/library/os.html
whatsnew/changelog.htmlhttps://cpython-previews--159043.org.readthedocs.build/en/159043/whatsnew/changelog.html
Please reload this pagehttps://github.com/python/cpython/pull/159043
https://github.com/apps/python-cla-bot
python-cla-bothttps://github.com/apps/python-cla-bot
Oct 21, 2026https://github.com/python/cpython/pull/159043#issuecomment-6305667538
Please reload this pagehttps://github.com/python/cpython/pull/159043
https://cla.python.org/
Please reload this pagehttps://github.com/python/cpython/pull/159043
https://github.com/ambv
Fix CI: allowlist new HAVE_LINUX_STAT_H/HAVE_STRUCT_STATX macros (https://github.com/python/cpython/pull/159043/commits/943aa85e8f55a3f99472ffed9b3f9b8c7b3ed527
pyt…https://github.com/python/cpython/issues/153400
943aa85https://github.com/python/cpython/pull/159043/commits/943aa85e8f55a3f99472ffed9b3f9b8c7b3ed527
…hongh-153400https://github.com/python/cpython/issues/153400
https://github.com/ambv
ambvhttps://github.com/ambv
force-pushedhttps://github.com/python/cpython/compare/db0e4e41e7d9c6ad8fc840acf1b52f3d65af0de6..943aa85e8f55a3f99472ffed9b3f9b8c7b3ed527
db0e4e4https://github.com/python/cpython/commit/db0e4e41e7d9c6ad8fc840acf1b52f3d65af0de6
943aa85https://github.com/python/cpython/commit/943aa85e8f55a3f99472ffed9b3f9b8c7b3ed527
Compare https://github.com/python/cpython/compare/db0e4e41e7d9c6ad8fc840acf1b52f3d65af0de6..943aa85e8f55a3f99472ffed9b3f9b8c7b3ed527
October 21, 2026 01:53https://github.com/python/cpython/pull/159043#event-33802903328
https://github.com/emmatyping
emmatypinghttps://github.com/emmatyping
Oct 30, 2026 https://github.com/python/cpython/pull/159043#pullrequestreview-5717311341
View reviewed changes https://github.com/python/cpython/pull/159043/files/943aa85e8f55a3f99472ffed9b3f9b8c7b3ed527
Doc/library/os.rsthttps://github.com/python/cpython/pull/159043/files/943aa85e8f55a3f99472ffed9b3f9b8c7b3ed527#diff-cd9132e5234678864807ae34a75c5d4d6b894b31c327a4d3620fbd0c37eec16e
emmatypinghttps://github.com/emmatyping
Oct 30, 2026https://github.com/python/cpython/pull/159043#discussion_r4427458384
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/159043
https://github.com/emmatyping
emmatypinghttps://github.com/emmatyping
Oct 30, 2026 https://github.com/python/cpython/pull/159043#pullrequestreview-5717318716
View reviewed changes https://github.com/python/cpython/pull/159043/files/943aa85e8f55a3f99472ffed9b3f9b8c7b3ed527
Doc/library/os.rsthttps://github.com/python/cpython/pull/159043/files/943aa85e8f55a3f99472ffed9b3f9b8c7b3ed527#diff-cd9132e5234678864807ae34a75c5d4d6b894b31c327a4d3620fbd0c37eec16e
emmatypinghttps://github.com/emmatyping
Oct 30, 2026https://github.com/python/cpython/pull/159043#discussion_r4427463156
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/159043
https://github.com/emmatyping
emmatypinghttps://github.com/emmatyping
Oct 30, 2026https://github.com/python/cpython/pull/159043#issuecomment-6532656361
Please reload this pagehttps://github.com/python/cpython/pull/159043
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%2F159043
https://github.com/cmaloney
cmaloney https://github.com/cmaloney
https://github.com/python/cpython/pull/159043/files/411cbb0429d2f61ca021c34798e875bb1fdf8eb9
https://github.com/emmatyping
emmatyping https://github.com/emmatyping
https://github.com/python/cpython/pull/159043/files/943aa85e8f55a3f99472ffed9b3f9b8c7b3ed527
https://github.com/erlend-aasland
erlend-aasland https://github.com/erlend-aasland
https://github.com/corona10
corona10 https://github.com/corona10
https://github.com/AA-Turner
AA-Turner https://github.com/AA-Turner
https://github.com/itamaro
itamaro https://github.com/itamaro
Please reload this pagehttps://github.com/python/cpython/pull/159043
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
type-feature https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atype-feature
Please reload this pagehttps://github.com/python/cpython/pull/159043
https://github.com/jjhelmus
https://github.com/KaiErikNiermann
https://github.com/emmatyping
https://github.com/cmaloney
https://github.com/ambv
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.