Message394784
The early short-circuit logic in shutil.which() when cmd includes a directory component incorrectly gives None on Windows if the correct filename suffix was not also given.
Example: on Windows if ./foo.exe exists, then shutil.which('./foo.exe') returns None. |
|
Date |
User |
Action |
Args |
2021-05-31 02:15:53 | michael2 | set | recipients:
+ michael2 |
2021-05-31 02:15:53 | michael2 | set | messageid: <1622427353.15.0.786946612007.issue44270@roundup.psfhosted.org> |
2021-05-31 02:15:53 | michael2 | link | issue44270 messages |
2021-05-31 02:15:52 | michael2 | create | |
|