[Python-Dev] #!/usr/bin/env python --> python3 where applicable (original) (raw)

Nick Coghlan ncoghlan at gmail.com
Sun Apr 19 15:52:39 CEST 2009


Martin v. Löwis wrote:

I think that it's probably best to leave "python", "python2", and "python3" for the use of downstream distributors. ISTR that was what Guido concluded, in the discuss that led to Python 3 defaulting to altinstall---it wasn't just convenient because Python 3 is a major change, but that experience has shown that deciding which Python is going to be "The python" on somebody's system just isn't a decision that Python should make. Yes. However, at the language summit in Chicago, it was agreed that the installation should also provide a python3 symlink. I don't recall the agreement wrt. to the names of executables on Windows.

The installer still leaves PATH alone by default, doesn't it? That means the Windows version selection is done by naming the directory.

Although I guess choosing a file association for .py files becomes rather more interesting...

Cheers, Nick.

-- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia



More information about the Python-Dev mailing list