Currently the stub script requires (via its shebang) that the target system have a python command available on PATH. If the target is PY3, the user might reasonable expect that it work if python is not available but python3 is. We can modify the shebang in this case to be #!/usr/bin/env python3. However doing so might break if the system has a (Python 3) python command but not a python3 command.
See #8665 for a case where the shebang has been a problem in practice.
Currently the stub script requires (via its shebang) that the target system have a
pythoncommand available onPATH. If the target is PY3, the user might reasonable expect that it work ifpythonis not available butpython3is. We can modify the shebang in this case to be#!/usr/bin/env python3. However doing so might break if the system has a (Python 3)pythoncommand but not apython3command.See #8665 for a case where the shebang has been a problem in practice.