| react-profiling | 0 |
| react-import-map | react,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/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:cb5d3f5f-ba63-6676-a487-488744c644dd |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8438:2BC887:18851D:2257F6:6AFDADE0 |
| html-safe-nonce | 87d474ad6bb69fbf433c4dadb0dc7178301c720aeeccc390e62e8be506c90ee1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDM4OjJCQzg4NzoxODg1MUQ6MjI1N0Y2OjZBRkRBREUwIiwidmlzaXRvcl9pZCI6IjUzNzQxMzU1NDIzOTA1NjYzNjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0c1a07d4d55ae5389371a49a58d18ea23a78be9eb313a4b6f1d975c650601ceb |
| hovercard-subject-tag | pull_request:4203520535 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/155174/files |
| twitter:image | https://avatars.githubusercontent.com/u/302922?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/302922?s=400&v=4 |
| og:image:alt | This is based on GH-154718 -- I made some changes, then checked @Vamsi-klu's closed PR and realized the work is already nearly done. So, credit where it's due.
This is for macOS only; exten... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | bc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 0ddf53eb35c87f1f8df13dbf75c3bdadbfc6e969 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/155174/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F155174%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F155174%2Ffiles |
| Sign up | https://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%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/155174/files |
| Reload | https://github.com/python/cpython/pull/155174/files |
| Reload | https://github.com/python/cpython/pull/155174/files |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | https://github.com/python/cpython/pulls |
| Actions | https://github.com/python/cpython/actions |
| Projects | https://github.com/python/cpython/projects |
| Security and quality | https://github.com/python/cpython/security |
| Insights | https://github.com/python/cpython/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| hugovk | https://github.com/hugovk |
| python:main | https://github.com/python/cpython/tree/main |
| encukou:dup3-pipe2 | https://github.com/encukou/cpython/tree/dup3-pipe2 |
|
Conversation
10
| https://github.com/python/cpython/pull/155174 |
|
Commits
6
| https://github.com/python/cpython/pull/155174/commits |
|
Checks
59
| https://github.com/python/cpython/pull/155174/checks |
|
Files changed
| https://github.com/python/cpython/pull/155174/files |
| Please reload this page | https://github.com/python/cpython/pull/155174/files |
|
gh-153711: Add runtime guards for dup3 & pipe2
| https://github.com/python/cpython/pull/155174/files#top |
|
Show all changes
6 commits
| https://github.com/python/cpython/pull/155174/files |
|
03077d5
Add runtime guards for dup3 & pipe2
encukou Aug 4, 2026
| https://github.com/python/cpython/pull/155174/commits/03077d5fc3103ccc6cb03a02d14b5e63ac6be06c |
|
5ba1a20
Add entry for c-analyzer
encukou Aug 4, 2026
| https://github.com/python/cpython/pull/155174/commits/5ba1a2093ecce0859b293f1ca637d80bb0999da8 |
|
1126ba4
Use relaxed atomics for thread safety
encukou Aug 4, 2026
| https://github.com/python/cpython/pull/155174/commits/1126ba4ec1d255e60b796e60e216dcee9ae756f0 |
|
9edc83d
Update variable names
encukou Aug 4, 2026
| https://github.com/python/cpython/pull/155174/commits/9edc83d42765bad4c0deb8c45b7e8fc715f760d6 |
|
0c40dcb
Fix legacy ifdef names
ned-deily Aug 5, 2026
| https://github.com/python/cpython/pull/155174/commits/0c40dcbb486a3a044e345d2e2f16f8d132eb7ef9 |
|
c36cca8
Merge branch 'main' into dup3-pipe2
ned-deily Aug 5, 2026
| https://github.com/python/cpython/pull/155174/commits/c36cca8672340f99e5fdfd036208db3b8eea1b4f |
|
Clear filters
| https://github.com/python/cpython/pull/155174/files |
| Please reload this page | https://github.com/python/cpython/pull/155174/files |
| Please reload this page | https://github.com/python/cpython/pull/155174/files |
|
os.rst
| https://github.com/python/cpython/pull/155174/files#diff-cd9132e5234678864807ae34a75c5d4d6b894b31c327a4d3620fbd0c37eec16e |
|
test_posix.py
| https://github.com/python/cpython/pull/155174/files#diff-c2ffce99c501f7f4b6bde21947391671e95f592edcdf8bddbe4706a5c59d4417 |
|
2026-08-04-14-14-31.gh-issue-153711.PBpc1g.rst
| https://github.com/python/cpython/pull/155174/files#diff-5020b78a2f4107e295796e7cb342ce5af250c3d0e356a51a697e0b4792c2149d |
|
posixmodule.c
| https://github.com/python/cpython/pull/155174/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
ignored.tsv
| https://github.com/python/cpython/pull/155174/files#diff-fa2373a9a002e491408e623369773045f4b7de90114b9f5ba6933bfbf2d8c45c |
| Doc/library/os.rst | https://github.com/python/cpython/pull/155174/files#diff-cd9132e5234678864807ae34a75c5d4d6b894b31c327a4d3620fbd0c37eec16e |
|
View file
| https://github.com/encukou/cpython/blob/c36cca8672340f99e5fdfd036208db3b8eea1b4f/Doc/library/os.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/155174/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/155174/files#diff-cd9132e5234678864807ae34a75c5d4d6b894b31c327a4d3620fbd0c37eec16e |
|
| https://github.com/python/cpython/pull/155174/files#diff-cd9132e5234678864807ae34a75c5d4d6b894b31c327a4d3620fbd0c37eec16e |
| Lib/test/test_os/test_posix.py | https://github.com/python/cpython/pull/155174/files#diff-c2ffce99c501f7f4b6bde21947391671e95f592edcdf8bddbe4706a5c59d4417 |
|
View file
| https://github.com/encukou/cpython/blob/c36cca8672340f99e5fdfd036208db3b8eea1b4f/Lib/test/test_os/test_posix.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/155174/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/155174/files#diff-c2ffce99c501f7f4b6bde21947391671e95f592edcdf8bddbe4706a5c59d4417 |
|
| https://github.com/python/cpython/pull/155174/files#diff-c2ffce99c501f7f4b6bde21947391671e95f592edcdf8bddbe4706a5c59d4417 |
| Misc/NEWS.d/next/Library/2026-08-04-14-14-31.gh-issue-153711.PBpc1g.rst | https://github.com/python/cpython/pull/155174/files#diff-5020b78a2f4107e295796e7cb342ce5af250c3d0e356a51a697e0b4792c2149d |
|
View file
| https://github.com/encukou/cpython/blob/c36cca8672340f99e5fdfd036208db3b8eea1b4f/Misc/NEWS.d/next/Library/2026-08-04-14-14-31.gh-issue-153711.PBpc1g.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/155174/{{ revealButtonHref }} |
| Modules/posixmodule.c | https://github.com/python/cpython/pull/155174/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
View file
| https://github.com/encukou/cpython/blob/c36cca8672340f99e5fdfd036208db3b8eea1b4f/Modules/posixmodule.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/155174/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/155174/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
| https://github.com/python/cpython/pull/155174/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
| https://github.com/python/cpython/pull/155174/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
| https://github.com/python/cpython/pull/155174/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
| https://github.com/python/cpython/pull/155174/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
| https://github.com/python/cpython/pull/155174/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
| https://github.com/python/cpython/pull/155174/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
| https://github.com/python/cpython/pull/155174/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
| https://github.com/python/cpython/pull/155174/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
| https://github.com/python/cpython/pull/155174/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
| https://github.com/python/cpython/pull/155174/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
| https://github.com/python/cpython/pull/155174/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
| https://github.com/python/cpython/pull/155174/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
| https://github.com/python/cpython/pull/155174/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
| https://github.com/python/cpython/pull/155174/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
| https://github.com/python/cpython/pull/155174/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
| https://github.com/python/cpython/pull/155174/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
| https://github.com/python/cpython/pull/155174/files#diff-b5b7e4f5599916b2018e911ef423f9d3fd46cb71268e1a73c74a1c9ae2cb6791 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L129 |
| Tools/c-analyzer/cpython/ignored.tsv | https://github.com/python/cpython/pull/155174/files#diff-fa2373a9a002e491408e623369773045f4b7de90114b9f5ba6933bfbf2d8c45c |
|
View file
| https://github.com/encukou/cpython/blob/c36cca8672340f99e5fdfd036208db3b8eea1b4f/Tools/c-analyzer/cpython/ignored.tsv |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/155174/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/155174/files#diff-fa2373a9a002e491408e623369773045f4b7de90114b9f5ba6933bfbf2d8c45c |
|
| https://github.com/python/cpython/pull/155174/files#diff-fa2373a9a002e491408e623369773045f4b7de90114b9f5ba6933bfbf2d8c45c |
| Please reload this page | https://github.com/python/cpython/pull/155174/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |