[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Lib cgi.py,1.53,1.54

Fredrik Lundh fredrik@pythonware.com
Tue, 3 Oct 2000 10:52:37 +0200

> Change first line to #!/usr/bin/env python (really just to test check-in).

hmm.  cgi.py is a CGI script.  according to the Python FAQ, CGI
scripts should use an explicit path, not /usr/bin/env:

    "Note -- *don't* do this for CGI scripts. The $PATH variable
    for CGI scripts is often very minimal, so you need to use the
    actual absolute pathname of the interpreter."

(since this comes up over and over again, maybe someone should
add a comment to the file?)