[Python-ideas] Migration of /usr/bin/python to python3

Andrew Barnert abarnert at yahoo.com
Thu Mar 12 11:17:47 CET 2015


On Mar 12, 2015, at 1:24 AM, Oleg Broytman <phd at phdru.name> wrote:
> 
> Hi!
> 
>> On Wed, Mar 11, 2015 at 07:42:38PM -0400, random832 at fastmail.us wrote:
>>> On Wed, Mar 11, 2015, at 15:43, Neil Schemenauer wrote:
>>> Traditionally the OS only passes the first option to the
>>> interpreter so anything after that could be used to pass 3.x
>>> specific options.
>> 
>> I think some OSes pass everything after the interpreter as one long
>> string rather than ignoring extra arguments. Is there any standard for
>> this?
> 
>   There *are* standards ;-) See
> http://www.in-ulm.de/~mascheck/various/shebang/#splitting
>   and the table below.

A table showing that a variety of systems do things in all three of the conceivable ways is pretty much the exact opposite of a standard. 

> 
> Oleg.
> -- 
>     Oleg Broytman            http://phdru.name/            phd at phdru.name
>           Programmers don't die, they just GOSUB without RETURN.
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/


More information about the Python-ideas mailing list