eryksun added the comment:
To support cross-platform shebangs, the launcher special-cases the following
virtual commands [1]:
/usr/bin/env python
/usr/bin/python
/usr/local/bin/python
python
The "env" virtual command searches the PATH environment variable. Note that
it's /usr/bin/env since that's the most common location for the env utility on
POSIX systems. If /bin/env is used there should at least be a symlink to it in
/usr/bin.
[1]: https://docs.python.org/3/using/windows.html#shebang-lines
----------
nosy: +eryksun
versions: +Python 3.4 -Python 2.7
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue24625>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com