[issue28686] py.exe ignored PATH when using python3 shebang
Steve Dower
report at bugs.python.org
Mon Feb 6 17:41:57 EST 2017
Steve Dower added the comment:
> If Python on Windows changed to ship python3.exe and python37.exe alongside python.exe, then it might be worth revisiting this discussion
Agreed, though if we started including versioned executables wouldn't that resolve this issue naturally? (As in, we'd search for python3.exe and find it?)
FWIW, I'm not a huge fan of including versioned executables - I would much rather include versioned *launchers*, so we can put them all in the one directory and avoid cluttering the search path (i.e. rename "py.exe" to "python.exe", "python2.exe" and "python3.exe" and have it check its own name before searching).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28686>
_______________________________________
More information about the Python-bugs-list
mailing list