A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-August/016698.html below:

[Python-Dev] Re: cgitb.py for Python 2.2

[Python-Dev] Re: cgitb.py for Python 2.2 [Python-Dev] Re: cgitb.py for Python 2.2Greg Ward gward@python.net
Sat, 4 Aug 2001 11:06:53 -0400
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?"



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4