summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorChristopher Marchfelder <marchfelder@googlemail.com>2020-10-23 10:08:24 (GMT)
committerGitHub <noreply@github.com>2020-10-23 10:08:24 (GMT)
commitda6f098188c9825f10ae60db8987056b3a54c2e8 (patch)
tree12fd534f1159492f1194c1fb14fe8c5ec20cdae2 /Misc
parent345cd37abe324ad4f60f80e2c3133b8849e54e9b (diff)
downloadcpython-da6f098188c9825f10ae60db8987056b3a54c2e8.zip
cpython-da6f098188c9825f10ae60db8987056b3a54c2e8.tar.gz
cpython-da6f098188c9825f10ae60db8987056b3a54c2e8.tar.bz2
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
Diffstat (limited to 'Misc')
-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.