[Python-ideas] Rename python.exe to python3.exe on Windows

Ben Finney ben+python at benfinney.id.au
Sun May 8 03:21:52 CEST 2011


Devin Jeanpierre <jeanpierreda at gmail.com>
writes:

> On most *nix systems, Python 3.x is available as the python3
> executable, and Python 2.x as the 'python' executable. This lets both
> exist side-by-side and be usable from the command-line.

More importantly, it ensures that programs written for older Python 2.x
will continue to run with the default ‘python’.

If the default ‘python’ were Python 3.x, programs expecting Python 2.x
would most likely break due to backward incompatibility. So it's best if
the ‘python’ program invokes only Python 2.x.

-- 
 \             “To label any subject unsuitable for comedy is to admit |
  `\                                           defeat.” —Peter Sellers |
_o__)                                                                  |
Ben Finney




More information about the Python-ideas mailing list