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

Oleg Broytman phd at phdru.name
Thu Mar 12 09:25:43 CET 2015


Hi!

On Wed, Mar 11, 2015 at 07:58:55PM -0500, Skip Montanaro <skip.montanaro at gmail.com> wrote:
> On Mar 11, 2015 3:50 PM, "Ryan Gonzalez" <rymg19 at gmail.com> wrote:
> >
> > No; this won't work:
> >
> > #!/usr/bin/env python -x -3
> >
> > As Oleg said, anything in the hashbang can only be passed one argument.
> It's not the kernel that invokes that; it's the shell.

   Why do you think it's the shell? It's exec() system call.

> Skip

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