Title: pathlib ABCs: prune PathBase interface · Issue #127381 · python/cpython · GitHub
Open Graph Title: pathlib ABCs: prune PathBase interface · Issue #127381 · python/cpython
X Title: pathlib ABCs: prune PathBase interface · Issue #127381 · python/cpython
Description: It's time to make some difficult decisions about which methods deserve to stay in the pathlib._abc.PathBase interface, and which ought to be made pathlib.Path-only. Guidelines: Compare to zipfile.Path and os.DirEntry; don't evict shared ...
Open Graph Description: It's time to make some difficult decisions about which methods deserve to stay in the pathlib._abc.PathBase interface, and which ought to be made pathlib.Path-only. Guidelines: Compare to zipfile.P...
X Description: It's time to make some difficult decisions about which methods deserve to stay in the pathlib._abc.PathBase interface, and which ought to be made pathlib.Path-only. Guidelines: Compare to zipfi...
Opengraph URL: https://github.com/python/cpython/issues/127381
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"pathlib ABCs: prune PathBase interface","articleBody":"It's time to make some difficult decisions about which methods deserve to stay in the `pathlib._abc.PathBase` interface, and which ought to be made `pathlib.Path`-only. Guidelines:\r\n\r\n- Compare to `zipfile.Path` and `os.DirEntry`; don't evict shared methods.\r\n- Include abstract methods only for the most basic functionality common to all virtual filesystems\r\n- Include concrete methods only when they combine abstract methods to produce widely useful functionality\r\n\r\n\u003c!-- gh-linked-prs --\u003e\r\n### Linked PRs\r\n* gh-127382\r\n* gh-127427\r\n* gh-127658\r\n* gh-127707\r\n* gh-127736\r\n* gh-127709\r\n* gh-127714\r\n* gh-127853\n* gh-128334\n* gh-128337\n* gh-129147\n* gh-130207\n* gh-130520\n* gh-130611\n* gh-131024\n\u003c!-- /gh-linked-prs --\u003e\r\n","author":{"url":"https://github.com/barneygale","@type":"Person","name":"barneygale"},"datePublished":"2024-11-29T01:54:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/127381/cpython/issues/127381"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:83efd23c-8654-349c-af37-36b392909f47 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A924:AA16D:1CC25BC:2869576:696A572C |
| html-safe-nonce | 2e0a417ce91cbbf83c7c919d795b9e594d98eb75fc255fbeb26b71b7cecb8a5f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTI0OkFBMTZEOjFDQzI1QkM6Mjg2OTU3Njo2OTZBNTcyQyIsInZpc2l0b3JfaWQiOiI3MzU2NjU5Njk3MDcyMTAxMTY0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8b82177a9a081237ded48161c71ba53386e9b9ddb25c750c9c8cc1af822c90a3 |
| hovercard-subject-tag | issue:2703611978 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/python/cpython/127381/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0b64956341167ee98f00044ccfab2356da9c0ac4b14f59b37df59759c07c8b7a/python/cpython/issues/127381 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0b64956341167ee98f00044ccfab2356da9c0ac4b14f59b37df59759c07c8b7a/python/cpython/issues/127381 |
| og:image:alt | It's time to make some difficult decisions about which methods deserve to stay in the pathlib._abc.PathBase interface, and which ought to be made pathlib.Path-only. Guidelines: Compare to zipfile.P... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | barneygale |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef |
| 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 | 63c426b30d262aba269ef14c40e3c817b384cd61 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width