Title: Handle `/:/` for `ntpath.isabs` · Issue #117352 · python/cpython · GitHub
Open Graph Title: Handle `/:/` for `ntpath.isabs` · Issue #117352 · python/cpython
X Title: Handle `/:/` for `ntpath.isabs` · Issue #117352 · python/cpython
Description: Bug report Bug description: >>> import ntpath >>> ntpath.isabs("/:/foo") True Expected: False, as /:/foo is relative to the drive or UNC share of the current working directory. CPython versions tested on: CPython main branch Operating sy...
Open Graph Description: Bug report Bug description: >>> import ntpath >>> ntpath.isabs("/:/foo") True Expected: False, as /:/foo is relative to the drive or UNC share of the current working directory. CPython versions tes...
X Description: Bug report Bug description: >>> import ntpath >>> ntpath.isabs("/:/foo") True Expected: False, as /:/foo is relative to the drive or UNC share of the current working dir...
Opengraph URL: https://github.com/python/cpython/issues/117352
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Handle `/:/` for `ntpath.isabs`","articleBody":"# Bug report\r\n\r\n### Bug description:\r\n\r\n```python\r\n\u003e\u003e\u003e import ntpath\r\n\u003e\u003e\u003e ntpath.isabs(\"/:/foo\")\r\nTrue\r\n```\r\n\r\nExpected: `False`, as `/:/foo` is relative to the drive or UNC share of the current working directory.\r\n\r\n### CPython versions tested on:\r\n\r\nCPython main branch\r\n\r\n### Operating systems tested on:\r\n\r\nWindows\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-117362\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/nineteendo","@type":"Person","name":"nineteendo"},"datePublished":"2024-03-28T21:59:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":15},"url":"https://github.com/117352/cpython/issues/117352"}
| 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:88b4c85e-379e-e645-1681-b6706f3617fe |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 842A:309720:257C8C9:32EC420:696ADB75 |
| html-safe-nonce | 724549295cc8c1bda8a051ae7f97c7071283ec9ef279ce61e84de51cf95a019f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDJBOjMwOTcyMDoyNTdDOEM5OjMyRUM0MjA6Njk2QURCNzUiLCJ2aXNpdG9yX2lkIjoiODI1OTcwNzAyOTcwMTgyNTE3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | cdef57fed9d4ab5e568040bd270860779404d00cb0bb9d6d4eee0fa0deead225 |
| hovercard-subject-tag | issue:2214237893 |
| 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/117352/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2abfed91ff631f33784fda6fd9b850708d19f34eb6a1f96ce97098def5f45ba5/python/cpython/issues/117352 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2abfed91ff631f33784fda6fd9b850708d19f34eb6a1f96ce97098def5f45ba5/python/cpython/issues/117352 |
| og:image:alt | Bug report Bug description: >>> import ntpath >>> ntpath.isabs("/:/foo") True Expected: False, as /:/foo is relative to the drive or UNC share of the current working directory. CPython versions tes... |
| 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 | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width