| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b7db69f2-4ddc-2481-e348-91381a00003b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E76A:141904:879E5F:B276B6:6A517F35 |
| html-safe-nonce | a5414af79fcfaac4a482c3b493cb1b5f9b08f9d9a998e4cf43bbe675a34f0f1f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzZBOjE0MTkwNDo4NzlFNUY6QjI3NkI2OjZBNTE3RjM1IiwidmlzaXRvcl9pZCI6Ijg5NTg3NjMzODAxOTMwMzIyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6ce4522f3c8352ce4d8a7639b10f71ccc5a5da25512667b626650aef6ba3c285 |
| hovercard-subject-tag | pull_request:3099423418 |
| 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/142693/files |
| twitter:image | https://avatars.githubusercontent.com/u/8949415?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/8949415?s=400&v=4 |
| og:image:alt | The original issue just mentions sockets, but while documenting this I found it very confusing and inconsistent that device files didn't get the same treatment, so I figured I'd fix them al... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | d01c62704ef24df49056c63892a149b775e1353d |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/142693/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F142693%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| 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 |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| 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/enterprise/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%2F142693%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/142693/files |
| Reload | https://github.com/python/cpython/pull/142693/files |
| Reload | https://github.com/python/cpython/pull/142693/files |
| Please reload this page | https://github.com/python/cpython/pull/142693/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/142693/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.7k
| 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.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
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 and quality
| 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 |
| savannahostrowski | https://github.com/savannahostrowski |
| python:main | https://github.com/python/cpython/tree/main |
| savannahostrowski:special-file-shutil | https://github.com/savannahostrowski/cpython/tree/special-file-shutil |
|
Conversation
7
| https://github.com/python/cpython/pull/142693 |
|
Commits
10
| https://github.com/python/cpython/pull/142693/commits |
|
Checks
53
| https://github.com/python/cpython/pull/142693/checks |
|
Files changed
| https://github.com/python/cpython/pull/142693/files |
| Please reload this page | https://github.com/python/cpython/pull/142693/files |
|
GH-81881: Raise SpecialFileError for sockets and devices in shutil.copyfile
| https://github.com/python/cpython/pull/142693/files#top |
|
Show all changes
10 commits
| https://github.com/python/cpython/pull/142693/files |
|
582968a
Make socket and devices return SpecialFileError
savannahostrowski Dec 14, 2025
| https://github.com/python/cpython/pull/142693/commits/582968a5e8e8cd9a2957cf53afbf786139cfb585 |
|
841e44d
📜🤖 Added by blurb_it.
blurb-it[bot] Dec 14, 2025
| https://github.com/python/cpython/pull/142693/commits/841e44d08070c3990074024a6e99a33abeea7b01 |
|
ed30a99
Fix whats new
savannahostrowski Dec 14, 2025
| https://github.com/python/cpython/pull/142693/commits/ed30a99c58dcaa8e0e4d2d772b57e27ae58d3141 |
|
6c20f23
Fix failing test
savannahostrowski Dec 14, 2025
| https://github.com/python/cpython/pull/142693/commits/6c20f232e84f4db979cfe176ceefda4db2694d3e |
|
c9827da
Fix iOS socket path
savannahostrowski Dec 14, 2025
| https://github.com/python/cpython/pull/142693/commits/c9827dade05fd3f1e9f47f6f9116454dc1a3e50a |
|
a3bcc38
Merge branch 'main' into special-file-shutil
savannahostrowski Dec 14, 2025
| https://github.com/python/cpython/pull/142693/commits/a3bcc38c00960267644bd4d201bf055b59308227 |
|
49c06c7
Merge branch 'main' into special-file-shutil
savannahostrowski Dec 14, 2025
| https://github.com/python/cpython/pull/142693/commits/49c06c75bb0a9beda9f62940896bbad22932b85d |
|
d2ef585
Merge branch 'main' into special-file-shutil
orsenthil Jun 27, 2026
| https://github.com/python/cpython/pull/142693/commits/d2ef585e5f70ca307eb95e599c59db4a2471286a |
|
2ecc0b7
Merge branch 'main' into special-file-shutil
savannahostrowski Jun 29, 2026
| https://github.com/python/cpython/pull/142693/commits/2ecc0b752c3d7b4434590c15eb4e6c8c1a461b27 |
|
78695f1
Merge branch 'main' into special-file-shutil
savannahostrowski Jun 29, 2026
| https://github.com/python/cpython/pull/142693/commits/78695f13ca8109d92950f36592afebf8a476926b |
|
Clear filters
| https://github.com/python/cpython/pull/142693/files |
| Please reload this page | https://github.com/python/cpython/pull/142693/files |
| Please reload this page | https://github.com/python/cpython/pull/142693/files |
|
shutil.rst
| https://github.com/python/cpython/pull/142693/files#diff-f2e20586f33534d9cf4f058fffcedbe5cba1abf0f9e9813968846d7a8cccb719 |
|
3.15.rst
| https://github.com/python/cpython/pull/142693/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9 |
|
shutil.py
| https://github.com/python/cpython/pull/142693/files#diff-db8ac59326160713929e0e1973aef54f0280fe9f154ef24d14244909a0e0689b |
|
test_shutil.py
| https://github.com/python/cpython/pull/142693/files#diff-ed52359d591fff799c0b81414bdfd9a90541cbc3b97b50a7ebaca38ed98062e7 |
|
2025-12-14-06-44-34.gh-issue-81881.qancdQ.rst
| https://github.com/python/cpython/pull/142693/files#diff-79a5fdb4354a2a5ead006655ae600183a3aa9df6354a8a13ee497e3036741912 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L571 |
| Doc/library/shutil.rst | https://github.com/python/cpython/pull/142693/files#diff-f2e20586f33534d9cf4f058fffcedbe5cba1abf0f9e9813968846d7a8cccb719 |
|
View file
| https://github.com/savannahostrowski/cpython/blob/78695f13ca8109d92950f36592afebf8a476926b/Doc/library/shutil.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/142693/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/142693/files#diff-f2e20586f33534d9cf4f058fffcedbe5cba1abf0f9e9813968846d7a8cccb719 |
|
| https://github.com/python/cpython/pull/142693/files#diff-f2e20586f33534d9cf4f058fffcedbe5cba1abf0f9e9813968846d7a8cccb719 |
|
| https://github.com/python/cpython/pull/142693/files#diff-f2e20586f33534d9cf4f058fffcedbe5cba1abf0f9e9813968846d7a8cccb719 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L116 |
| Doc/whatsnew/3.15.rst | https://github.com/python/cpython/pull/142693/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9 |
|
View file
| https://github.com/savannahostrowski/cpython/blob/78695f13ca8109d92950f36592afebf8a476926b/Doc/whatsnew/3.15.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/142693/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/142693/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9 |
|
| https://github.com/python/cpython/pull/142693/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9 |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L572 |
| Lib/shutil.py | https://github.com/python/cpython/pull/142693/files#diff-db8ac59326160713929e0e1973aef54f0280fe9f154ef24d14244909a0e0689b |
|
View file
| https://github.com/savannahostrowski/cpython/blob/78695f13ca8109d92950f36592afebf8a476926b/Lib/shutil.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/142693/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/142693/files#diff-db8ac59326160713929e0e1973aef54f0280fe9f154ef24d14244909a0e0689b |
|
| https://github.com/python/cpython/pull/142693/files#diff-db8ac59326160713929e0e1973aef54f0280fe9f154ef24d14244909a0e0689b |
|
| https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L573 |
| Lib/test/test_shutil.py | https://github.com/python/cpython/pull/142693/files#diff-ed52359d591fff799c0b81414bdfd9a90541cbc3b97b50a7ebaca38ed98062e7 |
|
View file
| https://github.com/savannahostrowski/cpython/blob/78695f13ca8109d92950f36592afebf8a476926b/Lib/test/test_shutil.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/142693/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/142693/files#diff-ed52359d591fff799c0b81414bdfd9a90541cbc3b97b50a7ebaca38ed98062e7 |
|
| https://github.com/python/cpython/pull/142693/files#diff-ed52359d591fff799c0b81414bdfd9a90541cbc3b97b50a7ebaca38ed98062e7 |
|
| https://github.com/python/cpython/pull/142693/files#diff-ed52359d591fff799c0b81414bdfd9a90541cbc3b97b50a7ebaca38ed98062e7 |
|
| https://github.com/python/cpython/pull/142693/files#diff-ed52359d591fff799c0b81414bdfd9a90541cbc3b97b50a7ebaca38ed98062e7 |
|
| https://github.com/python/cpython/pull/142693/files#diff-ed52359d591fff799c0b81414bdfd9a90541cbc3b97b50a7ebaca38ed98062e7 |
| Misc/NEWS.d/next/Library/2025-12-14-06-44-34.gh-issue-81881.qancdQ.rst | https://github.com/python/cpython/pull/142693/files#diff-79a5fdb4354a2a5ead006655ae600183a3aa9df6354a8a13ee497e3036741912 |
|
View file
| https://github.com/savannahostrowski/cpython/blob/78695f13ca8109d92950f36592afebf8a476926b/Misc/NEWS.d/next/Library/2025-12-14-06-44-34.gh-issue-81881.qancdQ.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/142693/{{ revealButtonHref }} |
| Please reload this page | https://github.com/python/cpython/pull/142693/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 |