Jonathan Dowland <j...@debian.org> writes: > On Wed, Dec 14, 2016 at 10:39:27AM +1100, Ben Finney wrote: >> That would violate Debian Python policy. You are free to do it on your >> own system, but it will likely break many Python packages on Debian, and >> you get to keep all the pieces :-) > > From what I recall the upstream Python community does not suggest calling > Python 3 'python' either.
https://www.python.org/dev/peps/pep-0394/ recommends that the python name be used for python2, but notes that some distributions have switched it to point to python3. So the suggestion is that python2-only scripts should have an explicit python2 shebang, and only scripts that support both should have the python shebang. -- regards, kushal