Title: GH-127381: pathlib ABCs: remove `PathBase.samefile()` and rarer `is_*()` by barneygale · Pull Request #127709 · python/cpython · GitHub
Open Graph Title: GH-127381: pathlib ABCs: remove `PathBase.samefile()` and rarer `is_*()` by barneygale · Pull Request #127709 · python/cpython
X Title: GH-127381: pathlib ABCs: remove `PathBase.samefile()` and rarer `is_*()` by barneygale · Pull Request #127709 · python/cpython
Description: Remove PathBase.samefile(), which is fairly specific to the local FS, and relies on stat(), which we're aiming to remove from PathBase. Also remove PathBase.is_mount(), is_junction(), is_block_device(), is_char_device(), is_fifo() and is_socket(). These rely on stat fields and POSIX file type numbers that we're aiming to remove from the PathBase API. Issue: gh-127381
Open Graph Description: Remove PathBase.samefile(), which is fairly specific to the local FS, and relies on stat(), which we're aiming to remove from PathBase. Also remove PathBase.is_mount(), is_junction(), is_block_...
X Description: Remove PathBase.samefile(), which is fairly specific to the local FS, and relies on stat(), which we're aiming to remove from PathBase. Also remove PathBase.is_mount(), is_junction(), is_bl...
Opengraph URL: https://github.com/python/cpython/pull/127709
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:ab3bccdd-f362-d004-bb98-97bb13b2ca67 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | BF42:A7972:22297B2:2EEC924:696ABE10 |
| html-safe-nonce | 62f492e1a159d9181b1642950afa2be0ef676fb7948f6893d4d98ad4219ee329 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjQyOkE3OTcyOjIyMjk3QjI6MkVFQzkyNDo2OTZBQkUxMCIsInZpc2l0b3JfaWQiOiIxMzA0OTEwMDA1MTYwMDMzODA4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 0353b7e798c766a071398d9ae4e4bba4012d669576a2e2daa18c4dc0a46ab452 |
| hovercard-subject-tag | pull_request:2220859767 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/127709/checks |
| twitter:image | https://avatars.githubusercontent.com/u/960340?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/960340?s=400&v=4 |
| og:image:alt | Remove PathBase.samefile(), which is fairly specific to the local FS, and relies on stat(), which we're aiming to remove from PathBase. Also remove PathBase.is_mount(), is_junction(), is_block_... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 46ce962e0e18113ea447391b6ace8b02d4d2861e57b4fbab3658698f73d8855b |
| turbo-cache-control | no-cache |
| 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 full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 30300f30bb3949de255e84a146706a3bdb5c19c9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width