]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-96290: Support partial/invalid UNC drives in ntpath.normpath() and splitdrive...
authorSteve Dower <steve.dower@python.org>
Thu, 12 Jan 2023 21:32:26 +0000 (21:32 +0000)
committerGitHub <noreply@github.com>
Thu, 12 Jan 2023 21:32:26 +0000 (21:32 +0000)
commit55a26de6ba938962dc23f2495723cf0f4f3ab7c6
treef24c57b10e4a284ea00d0734b42ce7dbb37914f7
parent75717645bcf0ce42ccc56154f59ce4604812c50c
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: Barney Gale <barney.gale@gmail.com>
Co-authored-by: Eryk Sun <eryksun@gmail.com>
Lib/ntpath.py
Lib/test/test_ntpath.py
Lib/test/test_zipfile.py
Misc/NEWS.d/next/Library/2022-12-19-23-19-26.gh-issue-96290.qFjsi6.rst [new file with mode: 0644]