This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: cgi.py runs python, not python3
Type: Stage: resolved
Components: Library (Lib) Versions: Python 3.0, Python 3.1, Python 3.2
process
Status: closed Resolution: duplicate
Dependencies: Superseder: "make altinstall" installs many files with incorrect shebangs
View: 10318
Assigned To: Nosy List: MLModel, jackdied
Priority: normal Keywords:

Created on 2009-09-11 19:01 by MLModel, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg92517 - (view) Author: Mitchell Model (MLModel) Date: 2009-09-11 19:01
The file cgi.py in the lib directory is an executable beginning with the
line:

#! /usr/local/bin/python

Shouldn't that be python3?
msg99877 - (view) Author: Jack Diederich (jackdied) * (Python committer) Date: 2010-02-22 23:47
+0 I'm ambivalent.  The script uses a reasonable default and pyhton3 is a reasonable default for the 3k branch.  That said most people will have to edit the file anyway to use it: I had to chmod a+x the file and change the bang path to /usr/bin/python to get it to work on my machine.
History
Date User Action Args
2022-04-11 14:56:52adminsetgithub: 51135
2010-11-29 16:27:48eric.araujosetstatus: open -> closed
resolution: duplicate
superseder: "make altinstall" installs many files with incorrect shebangs
stage: resolved
2010-02-22 23:47:33jackdiedsetnosy: + jackdied
messages: + msg99877
2009-09-11 19:01:55MLModelcreate