[Python-ideas] Migration of /usr/bin/python to python3
Ryan Gonzalez
rymg19 at gmail.com
Thu Mar 12 18:50:53 CET 2015
On Thu, Mar 12, 2015 at 3:25 AM, Oleg Broytman <phd at phdru.name> wrote:
> 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.
>
>
Right. My bad. I was thinking about the parsing part, not the execution
part.
> > Skip
>
> 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/
>
--
Ryan
[ERROR]: Your autotools build scripts are 200 lines longer than your
program. Something’s wrong.
http://kirbyfan64.github.io/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150312/a7a3bd38/attachment.html>
More information about the Python-ideas
mailing list