STINNER Victor <vstin...@redhat.com> added the comment:

I missed the fact that find_executable() always lookup in the current 
directory, whereas shutil.which() doesn't. I abandoned my PR 8968 in favor of 
PR 9049 which only fix the case where PATH env var is not defined. This PR can 
easily be backported to all branches, whereas backporting PR 8968 to stable 
branches would be risky: changes to distutils are likely to break a random 
package on PyPI.

----------
versions: +Python 2.7, Python 3.6, Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34530>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to