Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c4d5bf commit 467d723Copy full SHA for 467d723
1 file changed
Lib/cgi.py
@@ -1,5 +1,14 @@
1
#! /usr/local/bin/python
2
3
+# NOTE: the above "/usr/local/bin/python" is NOT a mistake. It is
4
+# intentionally NOT "/usr/bin/env python". On many systems
5
+# (e.g. Solaris), /usr/local/bin is not in $PATH as passed to CGI
6
+# scripts, and /usr/local/bin is the default directory where Python is
7
+# installed, so /usr/bin/env would be unable to find python. Granted,
8
+# binary installations by Linux vendors often install Python in
9
+# /usr/bin. So let those vendors patch cgi.py to match their choice
10
+# of installation.
11
+
12
"""Support module for CGI (Common Gateway Interface) scripts.
13
14
This module defines a number of utilities for use by CGI scripts
0 commit comments