René's URL Explorer Experiment


Title: gh-153711: Guard dup3/pipe2 with __builtin_available on Apple platforms by Vamsi-klu · Pull Request #154718 · python/cpython · GitHub

Open Graph Title: gh-153711: Guard dup3/pipe2 with __builtin_available on Apple platforms by Vamsi-klu · Pull Request #154718 · python/cpython

X Title: gh-153711: Guard dup3/pipe2 with __builtin_available on Apple platforms by Vamsi-klu · Pull Request #154718 · python/cpython

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

Open Graph Description: Summary Fix gh-153711 (deferred-blocker): when CPython is built with an Xcode 27 SDK, dup3 / pipe2 are detected at configure time but only exist at runtime on macOS / iOS 27+. On older OSes they bi...

X Description: Summary Fix gh-153711 (deferred-blocker): when CPython is built with an Xcode 27 SDK, dup3 / pipe2 are detected at configure time but only exist at runtime on macOS / iOS 27+. On older OSes they bi...

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

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:9a53386b-e2c7-6500-ff60-152175da4d1f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA05A:22A0C9:BFDE9:10FA61:6AFDAA63
html-safe-nonceb748076ff6c7951b88de8f9e052501035b0faf5f1ecdb052213f542cd98f047e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMDVBOjIyQTBDOTpCRkRFOToxMEZBNjE6NkFGREFBNjMiLCJ2aXNpdG9yX2lkIjoiNTYyNTEyNjUyMDU2NjQyNjIxMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdc95bac32685f0a71c2f99f3c6cddc748298ca88261df5cb92127712e9a192de
hovercard-subject-tagpull_request:4135411285
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/154718/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5d1e9dc6f9ed3f48cc773517b9d0cc5b48404dcbac0b0ac46e10a28d37646c22/python/cpython/pull/154718
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5d1e9dc6f9ed3f48cc773517b9d0cc5b48404dcbac0b0ac46e10a28d37646c22/python/cpython/pull/154718
og:image:altSummary Fix gh-153711 (deferred-blocker): when CPython is built with an Xcode 27 SDK, dup3 / pipe2 are detected at configure time but only exist at runtime on macOS / iOS 27+. On older OSes they bi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameVamsi-klu
hostnamegithub.com
expected-hostnamegithub.com
Nonebc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea
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
release0ddf53eb35c87f1f8df13dbf75c3bdadbfc6e969
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/154718#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F154718
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%2F154718
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/154718
Reloadhttps://github.com/python/cpython/pull/154718
Reloadhttps://github.com/python/cpython/pull/154718
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
Vamsi-kluhttps://github.com/Vamsi-klu
python:mainhttps://github.com/python/cpython/tree/main
Vamsi-klu:fix-gh153711-macos-dup3-pipe2-weaklinkhttps://github.com/Vamsi-klu/cpython/tree/fix-gh153711-macos-dup3-pipe2-weaklink
Conversationhttps://github.com/python/cpython/pull/154718
Commits2 (2)https://github.com/python/cpython/pull/154718/commits
Checkshttps://github.com/python/cpython/pull/154718/checks
Files changedhttps://github.com/python/cpython/pull/154718/files
gh-153711: Guard dup3/pipe2 with __builtin_available on Apple platformshttps://github.com/python/cpython/pull/154718#top
Vamsi-kluhttps://github.com/Vamsi-klu
python:mainhttps://github.com/python/cpython/tree/main
Vamsi-klu:fix-gh153711-macos-dup3-pipe2-weaklinkhttps://github.com/Vamsi-klu/cpython/tree/fix-gh153711-macos-dup3-pipe2-weaklink
https://github.com/Vamsi-klu
Vamsi-kluhttps://github.com/Vamsi-klu
Jul 26, 2026https://github.com/python/cpython/pull/154718#issue-4979550429
gh-153711https://github.com/python/cpython/issues/153711
gh-150443https://github.com/python/cpython/issues/150443
#150444https://github.com/python/cpython/pull/150444
gh-97897https://github.com/python/cpython/issues/97897
Prevent segfaults by adding macOS weaklinking for mkfifoat and mknodat system calls added in macOS 13 Ventura #97897https://github.com/python/cpython/issues/97897
gh-153711https://github.com/python/cpython/issues/153711
gh-150443: Exclude explicit dup3 and pipe2 checks on iOS builds. #150444https://github.com/python/cpython/pull/150444
Prevent segfaults by adding macOS weaklinking for mkfifoat and mknodat system calls added in macOS 13 Ventura #97897https://github.com/python/cpython/issues/97897
Prevent segfaults by adding macOS weaklinking for mkfifoat and mknodat system calls added in macOS 13 Ventura #97897https://github.com/python/cpython/issues/97897
iOS can't be built on macOS 26 / Xcode 26 build host #150443https://github.com/python/cpython/issues/150443
Please reload this pagehttps://github.com/python/cpython/pull/154718
https://github.com/Vamsi-klu
pythongh-153711https://github.com/python/cpython/issues/153711
: Guard dup3/pipe2 with __builtin_available on Apple p…https://github.com/python/cpython/pull/154718/commits/e5fbe3bb600fb57ab73168cc387e157a00b536e0
e5fbe3bhttps://github.com/python/cpython/pull/154718/commits/e5fbe3bb600fb57ab73168cc387e157a00b536e0
https://github.com/apps/python-cla-bot
python-cla-bothttps://github.com/apps/python-cla-bot
Jul 26, 2026https://github.com/python/cpython/pull/154718#issuecomment-5082498905
Please reload this pagehttps://github.com/python/cpython/pull/154718
https://cla.python.org/
Please reload this pagehttps://github.com/python/cpython/pull/154718
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
Jul 26, 2026https://github.com/python/cpython/pull/154718#event-28493524108
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jul 26, 2026 https://github.com/python/cpython/pull/154718#ref-issue-4885791180
macOS: Test availability for dup3() and pipe2() to prevent crashes when building against Xcode 27 #153711 https://github.com/python/cpython/issues/153711
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Jul 26, 2026 https://github.com/python/cpython/pull/154718#pullrequestreview-4781190066
View reviewed changes https://github.com/python/cpython/pull/154718/files/e5fbe3bb600fb57ab73168cc387e157a00b536e0
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
https://github.com/python/cpython/pull/154718#pullrequestreview-4781190066
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Your team has set up Codex to review pull requests in this repohttps://chatgpt.com/codex/cloud/settings/general
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/python/cpython/pull/154718
Doc/library/os.rsthttps://github.com/python/cpython/pull/154718/files/e5fbe3bb600fb57ab73168cc387e157a00b536e0#diff-cd9132e5234678864807ae34a75c5d4d6b894b31c327a4d3620fbd0c37eec16e
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Jul 26, 2026https://github.com/python/cpython/pull/154718#discussion_r3651994656
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://camo.githubusercontent.com/0854bfc38139c0d2b58a9d5d71f5ad92840cf0c17144621e462b474041793354/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f50322d79656c6c6f773f7374796c653d666c6174
Please reload this pagehttps://github.com/python/cpython/pull/154718
Modules/posixmodule.chttps://github.com/python/cpython/pull/154718/files/e5fbe3bb600fb57ab73168cc387e157a00b536e0#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Jul 26, 2026https://github.com/python/cpython/pull/154718#discussion_r3651994660
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://camo.githubusercontent.com/a08bbb8a949f7033433a88444eeae385ff6a5e599d92f878fb05fa85707b7816/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f50312d6f72616e67653f7374796c653d666c6174
Please reload this pagehttps://github.com/python/cpython/pull/154718
https://github.com/Vamsi-klu
pythongh-153711https://github.com/python/cpython/issues/153711
: Fix os.pipe2 availability directive syntaxhttps://github.com/python/cpython/pull/154718/commits/548b366f3bcaa1c151c027430d108f29463f24de
548b366https://github.com/python/cpython/pull/154718/commits/548b366f3bcaa1c151c027430d108f29463f24de
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Jul 26, 2026 https://github.com/python/cpython/pull/154718#pullrequestreview-4781203036
View reviewed changes https://github.com/python/cpython/pull/154718/files/548b366f3bcaa1c151c027430d108f29463f24de
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
https://github.com/python/cpython/pull/154718#pullrequestreview-4781203036
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Your team has set up Codex to review pull requests in this repohttps://chatgpt.com/codex/cloud/settings/general
@codexhttps://github.com/codex
@codexhttps://github.com/codex
Please reload this pagehttps://github.com/python/cpython/pull/154718
Doc/library/os.rsthttps://github.com/python/cpython/pull/154718/files/548b366f3bcaa1c151c027430d108f29463f24de#diff-cd9132e5234678864807ae34a75c5d4d6b894b31c327a4d3620fbd0c37eec16e
chatgpt-codex-connectorhttps://github.com/apps/chatgpt-codex-connector
Jul 26, 2026https://github.com/python/cpython/pull/154718#discussion_r3652009458
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://camo.githubusercontent.com/0854bfc38139c0d2b58a9d5d71f5ad92840cf0c17144621e462b474041793354/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f50322d79656c6c6f773f7374796c653d666c6174
Please reload this pagehttps://github.com/python/cpython/pull/154718
https://github.com/apps/read-the-docs-community
read-the-docs-communityhttps://github.com/apps/read-the-docs-community
Jul 26, 2026https://github.com/python/cpython/pull/154718#issuecomment-5082549194
cpython-previewshttps://app.readthedocs.org/projects/cpython-previews/
#33762150https://app.readthedocs.org/projects/cpython-previews/builds/33762150/
548b366https://github.com/python/cpython/commit/548b366f3bcaa1c151c027430d108f29463f24de
mainhttps://cpython-previews.readthedocs.io/en/main/
f5f5059https://github.com/python/cpython/commit/f5f50593ad80cab01b942d407f46d216644c5e84
  🔍 Preview build   https://cpython-previews--154718.org.readthedocs.build/en/154718/
library/os.htmlhttps://cpython-previews--154718.org.readthedocs.build/en/154718/library/os.html
whatsnew/changelog.htmlhttps://cpython-previews--154718.org.readthedocs.build/en/154718/whatsnew/changelog.html
Please reload this pagehttps://github.com/python/cpython/pull/154718
https://github.com/Vamsi-klu
Vamsi-kluhttps://github.com/Vamsi-klu
July 26, 2026 08:01https://github.com/python/cpython/pull/154718#event-28494167803
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
Jul 26, 2026https://github.com/python/cpython/pull/154718#event-28494168541
https://github.com/Vamsi-klu
Vamsi-kluhttps://github.com/Vamsi-klu
Jul 26, 2026https://github.com/python/cpython/pull/154718#issuecomment-5082685021
Please reload this pagehttps://github.com/python/cpython/pull/154718
https://github.com/Vamsi-klu
Vamsi-kluhttps://github.com/Vamsi-klu
Jul 26, 2026https://github.com/python/cpython/pull/154718#event-28494385537
encukouhttps://github.com/encukou
Aug 4, 2026 https://github.com/python/cpython/pull/154718#ref-commit-d6daa55
https://github.com/encukou
https://github.com/Vamsi-klu
Add runtime guards for dup3 & pipe2https://github.com/encukou/cpython/commit/d6daa55f1c625bbfe4d266282bc1fdac36e0bce7
d6daa55https://github.com/encukou/cpython/commit/d6daa55f1c625bbfe4d266282bc1fdac36e0bce7
pythonGH-154718https://github.com/python/cpython/pull/154718
encukouhttps://github.com/encukou
Aug 4, 2026 https://github.com/python/cpython/pull/154718#ref-commit-03077d5
https://github.com/encukou
https://github.com/Vamsi-klu
Add runtime guards for dup3 & pipe2https://github.com/encukou/cpython/commit/03077d5fc3103ccc6cb03a02d14b5e63ac6be06c
03077d5https://github.com/encukou/cpython/commit/03077d5fc3103ccc6cb03a02d14b5e63ac6be06c
pythonGH-154718https://github.com/python/cpython/pull/154718
https://github.com/encukou
encukouhttps://github.com/encukou
Aug 4, 2026 https://github.com/python/cpython/pull/154718#ref-pullrequest-5060667561
gh-153711: Add runtime guards for dup3 & pipe2 #155174 https://github.com/python/cpython/pull/155174
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%2F154718
https://github.com/apps/chatgpt-codex-connector
chatgpt-codex-connector[bot] https://github.com/apps/chatgpt-codex-connector
https://github.com/python/cpython/pull/154718/files/548b366f3bcaa1c151c027430d108f29463f24de
Please reload this pagehttps://github.com/python/cpython/pull/154718
macOS: Test availability for dup3() and pipe2() to prevent crashes when building against Xcode 27 https://github.com/python/cpython/issues/153711
Please reload this pagehttps://github.com/python/cpython/pull/154718
https://github.com/Vamsi-klu
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.