Title: Add `isdevdrive` to `posixpath` · Issue #117114 · python/cpython · GitHub
Open Graph Title: Add `isdevdrive` to `posixpath` · Issue #117114 · python/cpython
X Title: Add `isdevdrive` to `posixpath` · Issue #117114 · python/cpython
Description: Feature or enhancement Proposal: Four changes: Add link to genericpath.py & remove redundant availability in the documentation for os.path Deduplicate lexists & fallback isjunction implementations by defining them in genericpath. Move fa...
Open Graph Description: Feature or enhancement Proposal: Four changes: Add link to genericpath.py & remove redundant availability in the documentation for os.path Deduplicate lexists & fallback isjunction implementations ...
X Description: Feature or enhancement Proposal: Four changes: Add link to genericpath.py & remove redundant availability in the documentation for os.path Deduplicate lexists & fallback isjunction implemen...
Opengraph URL: https://github.com/python/cpython/issues/117114
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add `isdevdrive` to `posixpath`","articleBody":"# Feature or enhancement\r\n\r\n### Proposal:\r\n\r\nFour changes:\r\n\r\n1. Add link to `genericpath.py` \u0026 remove redundant availability in the documentation for `os.path`\r\n2. Deduplicate `lexists` \u0026 fallback `isjunction` implementations by defining them in `genericpath`.\r\n3. Move fallback `ntpath.isdevdrive` to `genericpath` to provide the same interface for `posixpath` \u0026 `ntpath`.\r\n4. Add `isdevdrive` to `ntpath.__all__`.\r\n\r\n### Has this already been discussed elsewhere?\r\n\r\nThis is a minor feature, which does not need previous discussion elsewhere\r\n\r\n### Links to previous discussion of this feature:\r\n\r\n_No response_\r\n\r\n\u003c!-- gh-linked-prs --\u003e\r\n### Linked PRs\r\n* gh-117115\r\n* gh-117249\n* gh-117756\n\u003c!-- /gh-linked-prs --\u003e\r\n","author":{"url":"https://github.com/nineteendo","@type":"Person","name":"nineteendo"},"datePublished":"2024-03-21T09:06:01.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/117114/cpython/issues/117114"}
| 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:81403d55-cb25-b303-6519-bd5217917550 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C1E8:320F8E:2697205:341E992:696ADC7E |
| html-safe-nonce | 7b5ed8340d94b2a58edafed05fea6e5c8e693e80ef8462fad2d405ecd600c7a1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMUU4OjMyMEY4RToyNjk3MjA1OjM0MUU5OTI6Njk2QURDN0UiLCJ2aXNpdG9yX2lkIjoiMjA4MjM0NDU4MjMyNDYwODEyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e47892e3d0f98d741bbcc1271b83d2b9ca5fc5fb99fbcd0234c071e05aade38b |
| hovercard-subject-tag | issue:2199591099 |
| 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/117114/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1f7282bc4452bdd973c3b077bf088e6f105e2a2a160b23ecf808c956b030593a/python/cpython/issues/117114 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1f7282bc4452bdd973c3b077bf088e6f105e2a2a160b23ecf808c956b030593a/python/cpython/issues/117114 |
| og:image:alt | Feature or enhancement Proposal: Four changes: Add link to genericpath.py & remove redundant availability in the documentation for os.path Deduplicate lexists & fallback isjunction implementations ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nineteendo |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 524a93f2c1f36522a3b4be4c110467ee4172245d |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width