On Wed, Jan 20, 2010 at 10:13:56PM -0500, Reid Kleckner wrote:
> 2) As a command line option, you can pass -j never. If you have a
> short-lived script, you can just stick this in your #! line and forget
> about it. This has more overhead, since all of the JIT machinery is
> loaded into memory but never used. Right now we record feedback that
> will never be used, but we could easily make that conditional on the
> jit control flag.
Shebang lines are much less useful than they appear because they only
split on the first space. Consider the following script:
#!/usr/bin/env python -tt
print "hello, world"
Running it gives the error because env is given the single argument
("python -tt") instead of two arguments ("python" and "-tt"):
/usr/bin/env: python -tt: No such file or directory
--
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 8826 6868
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com