gh-109590: Update shutil.which on Windows to prefer a PATHEXT extension on executable files (GH-109995)
The default arguments for shutil.which() request an executable file, but extensionless files are not executable on Windows and should be ignored.
C
Charles Machalow committed
29b875bb93099171aeb7a60cd18d4e1f4ea3c1db
Parent: 29c3a44
Committed by GitHub <noreply@github.com>
on 10/2/2023, 8:27:30 AM