[Python-bugs-list] [Bug #132124] [PATCH] simple fix, cgi.py uses /usr/local/bin/python ?

noreply@sourceforge.net noreply@sourceforge.net
Tue, 13 Feb 2001 02:22:42 -0800


Bug #132124, was updated on 2001-Feb-12 18:29
Here is a current snapshot of the bug.

Project: Python
Category: Python Library
Status: None
Resolution: None
Bug Group: None
Priority: 5
Submitted by: gbsadler
Assigned to : gvanrossum
Summary: [PATCH] simple fix, cgi.py uses /usr/local/bin/python ?

Details: Index: Lib/cgi.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/cgi.py,v
retrieving revision 1.60
diff -p -u -r1.60 cgi.py
--- Lib/cgi.py  2001/02/09 09:59:10     1.60
+++ Lib/cgi.py  2001/02/13 02:23:39
@@ -1,4 +1,4 @@
-#! /usr/local/bin/python
+#! /usr/bin/env python

 """Support module for CGI (Common Gateway Interface) scripts.

See no reason for /usr/local/bin...

Follow-Ups:

Date: 2001-Feb-13 02:22
By: tim_one

Comment:
Assigned to Guido.  My understanding is that /usr/bin/env often isn't
available in CGI environments, which is why cgi.py is unique in using
/usr/local/bin/python.  But what do I know ... if that is the case, how
about adding a comment to cgi.py explaining it?  IIRC, this isn't the first
time we got a fix for this "bug".
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=132124&group_id=5470