On 17 February 2015 at 18:56, Barry Warsaw <ba...@python.org> wrote:
>>The initial draft of this PEP proposed using ``/usr/bin/env python``
>>as the default interpreter.
>
> The other reasonable alternative for a default shebang is sys.executable.

That's instantly non-portable. On my PC, it'd give
C:\Apps\Python34\python.exe. Which won't work on Unix, or on PCs that
use the standard install location, or when I upgrade to Python 3.5...

Paul
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to