On Thu, Mar 12, 2015 at 3:25 AM, Oleg Broytman <phd@phdru.name> wrote:
Hi!

On Wed, Mar 11, 2015 at 07:58:55PM -0500, Skip Montanaro <skip.montanaro@gmail.com> wrote:
> On Mar 11, 2015 3:50 PM, "Ryan Gonzalez" <rymg19@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.


Right. My bad. I was thinking about the parsing part, not the execution part.
 
> Skip

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



--
Ryan
[ERROR]: Your autotools build scripts are 200 lines longer than your program. Something’s wrong.