[Python-Dev] Re: cgitb.py for Python 2.2 (original) (raw)
Greg Ward gward@python.net
Sat, 4 Aug 2001 11:06:53 -0400
- Previous message: [Python-Dev] Re: cgitb.py for Python 2.2
- Next message: [Python-Dev] Re: cgitb.py for Python 2.2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 03 August 2001, Guido van Rossum said:
it though, so that CGI scripts can use
#!/usr/bin/env python -C as their first line.
Completely off-topic: the "/usr/bin/env" hack doesn't work with command-line arguments under Linux:
$ cat t.py #!/usr/bin/env python -i
print "hello"
$ ./t.py
/usr/bin/env: python -i: No such file or directory
Grumble. Andrew and I tried to track this down once, and found suspicious-looking code in the kernel (ie., I don't think it's the fault of GNU env).
Greg
-- Greg Ward - Python bigot gward@python.net http://starship.python.net/~gward/ "What do you mean -- a European or an African swallow?"
- Previous message: [Python-Dev] Re: cgitb.py for Python 2.2
- Next message: [Python-Dev] Re: cgitb.py for Python 2.2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]