Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#23997 - [python/python2] cgi.py in python{,2} should use /usr/bin/python{,2}
Attached to Project:
Arch Linux
Opened by Kaiting Chen (kaitocracy) - Saturday, 30 April 2011, 02:49 GMT
Last edited by Stéphane Gaudreault (stephane) - Monday, 11 July 2011, 13:07 GMT
Opened by Kaiting Chen (kaitocracy) - Saturday, 30 April 2011, 02:49 GMT
Last edited by Stéphane Gaudreault (stephane) - Monday, 11 July 2011, 13:07 GMT
|
DetailsCopied verbatim from /usr/lib/python{2.7,3.2}/cgi.py:
#! /usr/local/bin/python # NOTE: the above "/usr/local/bin/python" is NOT a mistake. It is # intentionally NOT "/usr/bin/env python". On many systems # (e.g. Solaris), /usr/local/bin is not in $PATH as passed to CGI # scripts, and /usr/local/bin is the default directory where Python is # installed, so /usr/bin/env would be unable to find python. Granted, # binary installations by Linux vendors often install Python in # /usr/bin. So let those vendors patch cgi.py to match their choice # of installation. So line 1 in that file needs to be changed to /usr/bin/python{,2} depending on which Python it is for. |
This task depends upon
Closed by Stéphane Gaudreault (stephane)
Monday, 11 July 2011, 13:07 GMT
Reason for closing: Fixed
Additional comments about closing: python-3.2.1 in [testing]
Monday, 11 July 2011, 13:07 GMT
Reason for closing: Fixed
Additional comments about closing: python-3.2.1 in [testing]
Will be fixed in python 3 when 3.2.1 will be released (around June 19).