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

Oleg Broytman phd at phdru.name
Thu Mar 12 11:23:54 CET 2015


On Thu, Mar 12, 2015 at 03:17:47AM -0700, Andrew Barnert <abarnert at yahoo.com> wrote:
> On Mar 12, 2015, at 1:24 AM, Oleg Broytman <phd at phdru.name> wrote:
> >> 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.

   Isn't that how all standards are implemented in real life?! ;-)

Oleg.
-- 
     Oleg Broytman            http://phdru.name/            phd at phdru.name
           Programmers don't die, they just GOSUB without RETURN.


More information about the Python-ideas mailing list