summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorMiss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com>2020-10-23 21:37:58 (GMT)
committerGitHub <noreply@github.com>2020-10-23 21:37:58 (GMT)
commit8b4842b7a830299870067bba59f53529b13647a2 (patch)
treef4a9332e7319aa6a4ca866076acbb1a8d47fa385 /Misc/NEWS.d
parentcd894b1094ac472ceb98fe15a28ebeb8301fc079 (diff)
downloadcpython-8b4842b7a830299870067bba59f53529b13647a2.zip
cpython-8b4842b7a830299870067bba59f53529b13647a2.tar.gz
cpython-8b4842b7a830299870067bba59f53529b13647a2.tar.bz2
[3.8] bpo-40592: shutil.which will not return None anymore if ; is the last char in PATHEXT (GH-20088) (GH-22913)
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')
-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.