[issue39260] distutils.spawn: find_executable() Fails To Find Many Executables on Windows
Éric Araujo
report at bugs.python.org
Wed Jan 8 20:45:04 EST 2020
Éric Araujo <merwok at netwok.org> added the comment:
The problem is that distutils.spawn.find_executable is an internal API, never meant for general usage.
Only minimal change happens to distutils these days, partly because the codebase is full of dark corners and weird interactions (so a fix can easily break someone else’s setup.py script), partly because few core developers have the expertise and willingess to write patches or review PRs.
So the question is: is the problem you reported a problem that happens when people write setup.py scripts, or when using the function for something else? If it’s the latter, I’m afraid the safe course of action would be to change nothing, and recommend people use truly general-use functions like shutil.which.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39260>
_______________________________________
More information about the Python-bugs-list
mailing list