]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-96290: Support partial/invalid UNC drives in ntpath.normpath() and splitdrive...
authorBarney Gale <barney.gale@gmail.com>
Thu, 12 Jan 2023 19:24:57 +0000 (19:24 +0000)
committerGitHub <noreply@github.com>
Thu, 12 Jan 2023 19:24:57 +0000 (19:24 +0000)
commit005e69403d638f9ff8f71e59960c600016e101a4
treee91cca78084f6b4efcf56c66162bf45f3d7c4c0e
parenteecd422d1ba849f0724962666ba840581217812b
gh-96290: Support partial/invalid UNC drives in ntpath.normpath() and splitdrive() (GH-100351)

This brings the Python implementation of `ntpath.normpath()` in line with the C implementation added in 99fcf15

Co-authored-by: Eryk Sun <eryksun@gmail.com>
Lib/ntpath.py
Lib/test/test_ntpath.py
Lib/test/test_zipfile/test_core.py
Misc/NEWS.d/next/Library/2022-12-19-23-19-26.gh-issue-96290.qFjsi6.rst [new file with mode: 0644]