Optimize flag on shebang line
Jp Calderone
exarkun at intarweb.us
Tue Dec 9 15:12:30 EST 2003
On Tue, Dec 09, 2003 at 02:02:03PM -0500, Andres Corrada-Emmanuel wrote:
> Hello,
>
> Does the optimize flag work on the shebang line of UNIX systems? I've
> tried to execute a script on a Solaris system with a shebang line of the
> form:
>
> #! /usr/bin/env python -O
>
Typically, you can pass only a single argument to the interpreter. Your
platform may be silently ignoring the -O. Have you tried with simply
"#!/path/to/python -O"?
Note that -O hardly does anything, so even if you can't get this working,
it's not much of a loss.
Jp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/python-list/attachments/20031209/ba9c2320/attachment.sig>
More information about the Python-list
mailing list