]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106242: Make ntpath.realpath errors consistent with abspath when there are embedde...
authorSteve Dower <steve.dower@python.org>
Tue, 22 Aug 2023 00:16:02 +0000 (01:16 +0100)
committerGitHub <noreply@github.com>
Tue, 22 Aug 2023 00:16:02 +0000 (00:16 +0000)
commitde33b5c662ea8d35d81ed857c6a39e34ab94c510
treea80880d153261078923dc275cc2421f18e2350a9
parent531930f47f6b2a548d31e62cb4ad3e215a24bf53
gh-106242: Make ntpath.realpath errors consistent with abspath when there are embedded nulls (GH-108248)

* gh-106242: Make ntpath.realpath errors consistent with abspath when there are embedded nulls

* Update 2023-08-22-00-36-57.gh-issue-106242.q24ITw.rst

mention Windows and the former incorrect ValueError.

---------

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Lib/ntpath.py
Lib/test/test_ntpath.py
Misc/NEWS.d/next/Windows/2023-08-22-00-36-57.gh-issue-106242.q24ITw.rst [new file with mode: 0644]