summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Library
diff options
context:
space:
mode:
authorMiss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com>2020-10-23 21:38:05 (GMT)
committerGitHub <noreply@github.com>2020-10-23 21:38:05 (GMT)
commitc437fe39cf5318f27f3381a983fbf320f65064bc (patch)
treec244f52ac4f04b6f31ac2b601f90bf4bd9216b41 /Misc/NEWS.d/next/Library
parentf8d96b98a48c97d0da8714e5e18675412774a6ef (diff)
downloadcpython-c437fe39cf5318f27f3381a983fbf320f65064bc.zip
cpython-c437fe39cf5318f27f3381a983fbf320f65064bc.tar.gz
cpython-c437fe39cf5318f27f3381a983fbf320f65064bc.tar.bz2
[3.9] bpo-40592: shutil.which will not return None anymore if ; is the last char in PATHEXT (GH-20088) (GH-22912)
shutil.which will not return None anymore for empty str in PATHEXT Empty PATHEXT will now be defaulted to _WIN_DEFAULT_PATHEXT (cherry picked from commit da6f098188c9825f10ae60db8987056b3a54c2e8) Co-authored-by: Christopher Marchfelder <marchfelder@googlemail.com>
Diffstat (limited to 'Misc/NEWS.d/next/Library')
-rw-r--r--Misc/NEWS.d/next/Library/2020-05-14-16-01-34.bpo-40592.Cmk855.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-05-14-16-01-34.bpo-40592.Cmk855.rst b/Misc/NEWS.d/next/Library/2020-05-14-16-01-34.bpo-40592.Cmk855.rst
new file mode 100644
index 0000000..3211a1b
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-05-14-16-01-34.bpo-40592.Cmk855.rst
@@ -0,0 +1 @@
+:func:`shutil.which` now ignores empty entries in :envvar:`PATHEXT` instead of treating them as a match.