Skip to content

Handle /: for ntpath.normpath #117383

Closed as not planned
Closed as not planned
@nineteendo

Description

@nineteendo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.11only security fixes3.12only security fixes3.13bugs and security fixesOS-windowsinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions