Title: gh-81881: Raise a shutil.SpecialFileError when copying a Unix socket by AWhetter · Pull Request #16575 · python/cpython · GitHub
Open Graph Title: gh-81881: Raise a shutil.SpecialFileError when copying a Unix socket by AWhetter · Pull Request #16575 · python/cpython
X Title: gh-81881: Raise a shutil.SpecialFileError when copying a Unix socket by AWhetter · Pull Request #16575 · python/cpython
Description: This used to raise an OSError with a platform dependent message. This change always raises a SpecialFileError with a consistent message no matter the platform. Tackling special devices wasn't part of the original issue, but it is still technically an issue. Although devices are technically copyable (at least they are with cp), they will likely hang the same as a named pipe would even though a named pipe is technically copyable as well. https://bugs.python.org/issue37700 Issue: gh-81881
Open Graph Description: This used to raise an OSError with a platform dependent message. This change always raises a SpecialFileError with a consistent message no matter the platform. Tackling special devices wasn't p...
X Description: This used to raise an OSError with a platform dependent message. This change always raises a SpecialFileError with a consistent message no matter the platform. Tackling special devices wasn'...
Opengraph URL: https://github.com/python/cpython/pull/16575
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8069ced3-6364-32ec-89af-fab88efab310 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C460:3AC7E6:A22BC2:D7FA5F:6A518313 |
| html-safe-nonce | dbcf622e7f28590d5b5736f6551e3bf3ad87f59522b5a9000b1973d695091e70 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDYwOjNBQzdFNjpBMjJCQzI6RDdGQTVGOjZBNTE4MzEzIiwidmlzaXRvcl9pZCI6IjY4Mzc5NjQ0MDM3ODQxMjMxNTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3072464aaa70190813e84570a964333ee581afa28fa53edf7eb37f91446eb1be |
| hovercard-subject-tag | pull_request:324466223 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/16575/files |
| twitter:image | https://avatars.githubusercontent.com/u/3090295?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3090295?s=400&v=4 |
| og:image:alt | This used to raise an OSError with a platform dependent message. This change always raises a SpecialFileError with a consistent message no matter the platform. Tackling special devices wasn't p... |
| 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 | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width