]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40592: shutil.which will not return None anymore if ; is the last char in PATHEXT...
authorChristopher Marchfelder <marchfelder@googlemail.com>
Fri, 23 Oct 2020 10:08:24 +0000 (12:08 +0200)
committerGitHub <noreply@github.com>
Fri, 23 Oct 2020 10:08:24 +0000 (11:08 +0100)
commitda6f098188c9825f10ae60db8987056b3a54c2e8
tree12fd534f1159492f1194c1fb14fe8c5ec20cdae2
parent345cd37abe324ad4f60f80e2c3133b8849e54e9b
bpo-40592: shutil.which will not return None anymore if ; is the last char in PATHEXT (GH-20088)

shutil.which will not return None anymore for empty str in PATHEXT
Empty PATHEXT will now be defaulted to _WIN_DEFAULT_PATHEXT
Lib/shutil.py
Lib/test/test_shutil.py
Misc/NEWS.d/next/Library/2020-05-14-16-01-34.bpo-40592.Cmk855.rst [new file with mode: 0644]