summaryrefslogtreecommitdiffstats
path: root/Python/executor_cases.c.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-11-22 15:52:15 (GMT)
committerGitHub <noreply@github.com>2024-11-22 15:52:15 (GMT)
commit8899e85de100557899da05f0b37867a371a73800 (patch)
treeb410cfeb9f683b02571c8fa7425e72b38b23e350 /Python/executor_cases.c.h
parent615abb99a4538520f380ab26a42f1506e08ffd09 (diff)
downloadcpython-8899e85de100557899da05f0b37867a371a73800.zip
cpython-8899e85de100557899da05f0b37867a371a73800.tar.gz
cpython-8899e85de100557899da05f0b37867a371a73800.tar.bz2
gh-127001: Fix PATHEXT issues in shutil.which() on Windows (GH-127035)
* Name without a PATHEXT extension is only searched if the mode does not include X_OK. * Support multi-component PATHEXT extensions (e.g. ".foo.bar"). * Support files without extensions in PATHEXT contains dot-only extension (".", "..", etc). * Support PATHEXT extensions that end with a dot (e.g. ".foo.").
Diffstat (limited to 'Python/executor_cases.c.h')
0 files changed, 0 insertions, 0 deletions