Skip to content

Handle /:/ for ntpath.isabs #117352

Closed as not planned
Closed as not planned
@nineteendo

Description

@nineteendo

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 systems tested on:

Windows

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13bugs and security fixesOS-windowsstdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions