Title: Handle `/:` for `ntpath.normpath` · Issue #117383 · python/cpython · GitHub
Open Graph Title: Handle `/:` for `ntpath.normpath` · Issue #117383 · python/cpython
X Title: Handle `/:` for `ntpath.normpath` · Issue #117383 · python/cpython
Description: Bug report Bug description: >>> import ntpath >>> ntpath.normpath("/:foo") '/:foo' Expected: \\:foo, like the python implementation for ntpath.normpath. CPython versions tested on: CPython main branch Operating systems tested on: Windows
Open Graph Description: Bug report Bug description: >>> import ntpath >>> ntpath.normpath("/:foo") '/:foo' Expected: \\:foo, like the python implementation for ntpath.normpath. CPython versions tested on: CPython main bra...
X Description: Bug report Bug description: >>> import ntpath >>> ntpath.normpath("/:foo") '/:foo' Expected: \\:foo, like the python implementation for ntpath.normpath. CPython ...
Opengraph URL: https://github.com/python/cpython/issues/117383
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Handle `/:` for `ntpath.normpath`","articleBody":"# Bug report\n\n### Bug description:\n\n```python\n\u003e\u003e\u003e import ntpath\n\u003e\u003e\u003e ntpath.normpath(\"/:foo\")\n'/:foo'\n```\nExpected: `\\\\:foo`, like the python implementation for `ntpath.normpath`.\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\nWindows","author":{"url":"https://github.com/nineteendo","@type":"Person","name":"nineteendo"},"datePublished":"2024-03-29T21:49:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/117383/cpython/issues/117383"}
| 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:2a8b6c1f-3d5c-b2f8-6ae6-3ad7731ab3dd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B3B8:36585F:450E1C:605576:696A740C |
| html-safe-nonce | d763a592a14f107cfa7b304c1adffadc384033c0d08e7b2027ca04aeb913e9c5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCM0I4OjM2NTg1Rjo0NTBFMUM6NjA1NTc2OjY5NkE3NDBDIiwidmlzaXRvcl9pZCI6IjQxMjg3Mzk2MDM3MTMyNTg1MDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 90ef67e0437e00b4740293bf48b602cd74e43ee62efa7e53bde46dc108be7175 |
| hovercard-subject-tag | issue:2216028599 |
| 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/117383/issue_layout |
| twitter:image | https://opengraph.githubassets.com/09a59ad600920236c4a05e3e83d95d5316b12fd629b055a7ba60f8090b306328/python/cpython/issues/117383 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/09a59ad600920236c4a05e3e83d95d5316b12fd629b055a7ba60f8090b306328/python/cpython/issues/117383 |
| og:image:alt | Bug report Bug description: >>> import ntpath >>> ntpath.normpath("/:foo") '/:foo' Expected: \\:foo, like the python implementation for ntpath.normpath. CPython versions tested on: CPython main bra... |
| 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 | cfa223d62d272274e0b68350b4bd7741f3ca7498b8c4b8b1bc1e6deabbdbc09d |
| 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 | 6a0b6893c221f98f607598e939299fdf5763435d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width