Issue #16957: shutil.which() no longer searches a bare file name in the
current directory on Unix and no longer searches a relative file path with a directory part in PATH directories. Patch by Thomas Kluyver.
S
Serhiy Storchaka committed
e9a63600b3a781f1ca744eaaa380fb4b05d43115