]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-106242: Make ntpath.realpath errors consistent with abspath when there...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 22 Aug 2023 10:01:24 +0000 (03:01 -0700)
committerGitHub <noreply@github.com>
Tue, 22 Aug 2023 10:01:24 +0000 (12:01 +0200)
commitdd73f2f76ab1eabe92a2ca820430be723df31cde
treed300ea1393c8b4653e2e8d246c3a5282784e9c78
parentb26a7b78c9658a9b888f56ce3dc8cfae127d1eca
[3.12] gh-106242: Make ntpath.realpath errors consistent with abspath when there are embedded nulls (GH-108248) (#108251)

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.

---------

(cherry picked from commit de33b5c662ea8d35d81ed857c6a39e34ab94c510)

Co-authored-by: Steve Dower <steve.dower@python.org>
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]