| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:bce8f353-bb82-fd80-6293-3a539331ae80 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BA48:66C5B:660536:8B9F27:696E7919 |
| html-safe-nonce | cf240a8e46614e875f4bd3fac66c99b2ab4b6c9a5f528713e2d55449d170a6f2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTQ4OjY2QzVCOjY2MDUzNjo4QjlGMjc6Njk2RTc5MTkiLCJ2aXNpdG9yX2lkIjoiMjk1NDgzMDQxNDk5NzI1NjQ3NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 44f2f9791f4dc07eb3b1f97cfdbc5ab6dabc1f3ec0cd45fdf07c04228b0a96e1 |
| hovercard-subject-tag | pull_request:3184226343 |
| 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 | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/143966/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/f3419e63f91f8b90075262d6ff40b213579d8986dff8d10ee38eba93212e31fc/python/cpython/pull/143966 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f3419e63f91f8b90075262d6ff40b213579d8986dff8d10ee38eba93212e31fc/python/cpython/pull/143966 |
| og:image:alt | Closes gh-143968
[3.14] gh-143968: Prevent pathlib.Path.copy() from processing special files (FIFO, devices)
Description
This PR addresses an issue where pathlib.Path.copy() (introduced for 3.14) c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tonghuaroot |
| hostname | github.com |
| expected-hostname | github.com |
| None | fdad15fd2ad43212aa8b8be5f2c2725550f8374ceeeb154a999ad9145b43f3f7 |
| turbo-cache-control | no-preview |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 27b23bc056eb973d350fc95afc848757edb9e7a9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/143966#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143966 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143966 |
|
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/143966 |
| Reload | https://github.com/python/cpython/pull/143966 |
| Reload | https://github.com/python/cpython/pull/143966 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/143966 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/143966 |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| 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 |
| Jump to bottom | https://github.com/python/cpython/pull/143966#issue-comment-box |
| tonghuaroot | https://github.com/tonghuaroot |
| python:main | https://github.com/python/cpython/tree/main |
| tonghuaroot:fix-pathlib-copy-fifo | https://github.com/tonghuaroot/cpython/tree/fix-pathlib-copy-fifo |
|
gh-143968: Prevent pathlib.Path.copy() from processing special files (FIFO, devices)
| https://github.com/python/cpython/pull/143966#top |
| tonghuaroot | https://github.com/tonghuaroot |
| python:main | https://github.com/python/cpython/tree/main |
| tonghuaroot:fix-pathlib-copy-fifo | https://github.com/tonghuaroot/cpython/tree/fix-pathlib-copy-fifo |
|
Conversation
5
| https://github.com/python/cpython/pull/143966 |
|
Commits
7
| https://github.com/python/cpython/pull/143966/commits |
|
Checks
43
| https://github.com/python/cpython/pull/143966/checks |
|
Files changed
3
| https://github.com/python/cpython/pull/143966/files |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/tonghuaroot |
| tonghuaroot | https://github.com/tonghuaroot |
| Jan 17, 2026 | https://github.com/python/cpython/pull/143966#issue-3825413912 |
| Please reload this page | https://github.com/python/cpython/pull/143966 |
| gh-143968 | https://github.com/python/cpython/issues/143968 |
| gh-143968 | https://github.com/python/cpython/issues/143968 |
| pathlib.Path.copy() hangs on FIFO pipes and loops infinitely on /dev/zero #143968 | https://github.com/python/cpython/issues/143968 |
| Please reload this page | https://github.com/python/cpython/pull/143966 |
|
| https://github.com/tonghuaroot |
| [pathlib] Prevent Path.copy() from processing special files | https://github.com/python/cpython/pull/143966/commits/40fee16093171f283c7feaa5a0a39b8d6dbc1994 |
| 40fee16 | https://github.com/python/cpython/pull/143966/commits/40fee16093171f283c7feaa5a0a39b8d6dbc1994 |
| https://github.com/tonghuaroot |
| tonghuaroot | https://github.com/tonghuaroot |
| barneygale | https://github.com/barneygale |
| code owner | https://github.com/python/cpython/blob/61ec66acd5c73430c37877d2e2707905785c2ceb/.github/CODEOWNERS#L526 |
| January 17, 2026 15:30 | https://github.com/python/cpython/pull/143966#event-22115185900 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
| Jan 17, 2026 | https://github.com/python/cpython/pull/143966#issuecomment-3764021123 |
| require a NEWS entry | https://devguide.python.org/core-developers/committing/#updating-news-and-what-s-new-in-python |
| blurb_it | https://blurb-it.herokuapp.com |
| blurb | https://pypi.org/project/blurb/ |
| Please reload this page | https://github.com/python/cpython/pull/143966 |
| https://github.com/apps/python-cla-bot |
| python-cla-bot | https://github.com/apps/python-cla-bot |
| Jan 17, 2026 | https://github.com/python/cpython/pull/143966#issuecomment-3764021124 |
| Please reload this page | https://github.com/python/cpython/pull/143966 |
| https://cla.python.org/ |
| Please reload this page | https://github.com/python/cpython/pull/143966 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Jan 17, 2026 | https://github.com/python/cpython/pull/143966#event-22115186440 |
|
| https://github.com/tonghuaroot |
| Merge branch 'main' into fix-pathlib-copy-fifo | https://github.com/python/cpython/pull/143966/commits/35f7ecc20ab372e32bbed347874cf3a2c7a395c3 |
| 35f7ecc | https://github.com/python/cpython/pull/143966/commits/35f7ecc20ab372e32bbed347874cf3a2c7a395c3 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
| Jan 17, 2026 | https://github.com/python/cpython/pull/143966#issuecomment-3764025238 |
| require a NEWS entry | https://devguide.python.org/core-developers/committing/#updating-news-and-what-s-new-in-python |
| blurb_it | https://blurb-it.herokuapp.com |
| blurb | https://pypi.org/project/blurb/ |
| Please reload this page | https://github.com/python/cpython/pull/143966 |
|
| https://github.com/tonghuaroot |
| Fix trailing whitespace checks | https://github.com/python/cpython/pull/143966/commits/f3d9d25080b66f8d4899af5170e82221d81252b3 |
| f3d9d25 | https://github.com/python/cpython/pull/143966/commits/f3d9d25080b66f8d4899af5170e82221d81252b3 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
| Jan 17, 2026 | https://github.com/python/cpython/pull/143966#issuecomment-3764026347 |
| require a NEWS entry | https://devguide.python.org/core-developers/committing/#updating-news-and-what-s-new-in-python |
| blurb_it | https://blurb-it.herokuapp.com |
| blurb | https://pypi.org/project/blurb/ |
| Please reload this page | https://github.com/python/cpython/pull/143966 |
|
| https://github.com/tonghuaroot |
| Fix lint: remove unused import os | https://github.com/python/cpython/pull/143966/commits/895527c948aade8c55e6291e31057f47197c9944 |
| 895527c | https://github.com/python/cpython/pull/143966/commits/895527c948aade8c55e6291e31057f47197c9944 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
| Jan 17, 2026 | https://github.com/python/cpython/pull/143966#issuecomment-3764030001 |
| require a NEWS entry | https://devguide.python.org/core-developers/committing/#updating-news-and-what-s-new-in-python |
| blurb_it | https://blurb-it.herokuapp.com |
| blurb | https://pypi.org/project/blurb/ |
| Please reload this page | https://github.com/python/cpython/pull/143966 |
| https://github.com/tonghuaroot |
| tonghuaroot | https://github.com/tonghuaroot |
| Jan 17, 2026 | https://github.com/python/cpython/pull/143966#event-22115295995 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Jan 17, 2026
| https://github.com/python/cpython/pull/143966#ref-issue-3825434044 |
|
pathlib.Path.copy() hangs on FIFO pipes and loops infinitely on /dev/zero
#143968
| https://github.com/python/cpython/issues/143968 |
| blurb-it | https://github.com/apps/blurb-it |
| January 17, 2026 15:49 | https://github.com/python/cpython/pull/143966#commits-pushed-3e9c566 |
|
| https://github.com/apps/blurb-it |
| 📜🤖 Added by blurb_it. | https://github.com/python/cpython/pull/143966/commits/3e9c566b43cb21ebee74191d51062a22d9dbf705 |
| 3e9c566 | https://github.com/python/cpython/pull/143966/commits/3e9c566b43cb21ebee74191d51062a22d9dbf705 |
|
| https://github.com/tonghuaroot |
| Merge branch 'main' into fix-pathlib-copy-fifo | https://github.com/python/cpython/pull/143966/commits/1408b799551cd6dc4d1e02b2986b5e40bf92c29a |
| 1408b79 | https://github.com/python/cpython/pull/143966/commits/1408b799551cd6dc4d1e02b2986b5e40bf92c29a |
| https://github.com/StanFromIreland |
| StanFromIreland | https://github.com/StanFromIreland |
| Jan 17, 2026 | https://github.com/python/cpython/pull/143966#event-22115473890 |
|
| https://github.com/tonghuaroot |
| Merge branch 'main' into fix-pathlib-copy-fifo | https://github.com/python/cpython/pull/143966/commits/e38a795f45f1f6f450737a3926f2259d4c163f5d |
| e38a795 | https://github.com/python/cpython/pull/143966/commits/e38a795f45f1f6f450737a3926f2259d4c163f5d |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143966 |
|
| https://github.com/barneygale |
|
barneygale
| https://github.com/barneygale |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
|
pathlib.Path.copy() hangs on FIFO pipes and loops infinitely on /dev/zero
| https://github.com/python/cpython/issues/143968 |
| Please reload this page | https://github.com/python/cpython/pull/143966 |
|
| https://github.com/tonghuaroot |
|
| 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 |