[Python-checkins] peps: Update PEP 394 to record acceptance, fix awkward phrasing in the rational
nick.coghlan
python-checkins at python.org
Fri Feb 17 12:11:08 CET 2012
http://hg.python.org/peps/rev/c91f8a71826c
changeset: 4061:c91f8a71826c
user: Nick Coghlan <ncoghlan at gmail.com>
date: Fri Feb 17 21:10:58 2012 +1000
summary:
Update PEP 394 to record acceptance, fix awkward phrasing in the rational section and incorporate Barry's suggestion of explicitly noting that we expect the recommendation to eventually change
files:
pep-0394.txt | 38 +++++++++++++++++++++++++++-----------
1 files changed, 27 insertions(+), 11 deletions(-)
diff --git a/pep-0394.txt b/pep-0394.txt
--- a/pep-0394.txt
+++ b/pep-0394.txt
@@ -4,11 +4,12 @@
Last-Modified: $Date$
Author: Kerrick Staley <mail at kerrickstaley.com>,
Nick Coghlan <ncoghlan at gmail.com>
-Status: Draft
+Status: Active
Type: Informational
Content-Type: text/x-rst
Created: 02-Mar-2011
Post-History: 04-Mar-2011, 20-Jul-2011, 16-Feb-2012
+Resolution: http://mail.python.org/pipermail/python-dev/2012-February/116594.html
Abstract
@@ -66,16 +67,31 @@
Rationale
=========
-This is needed as, even though the majority of distributions still alias the
-``python`` command to Python 2, some now alias it to Python 3 ([5]_). Some of
-the former also do not provide a ``python2`` command; hence, there is
-currently no way for Python 2 code (or any code that invokes the Python 2
-interpreter directly rather than via ``sys.executable``) to reliably run on
-all Unix-like systems without modification, as the ``python`` command will
-invoke the wrong interpreter version on some systems, and the ``python2``
-command will fail completely on others. The recommendations in this PEP
-provide a very simple mechanism to restore cross-platform support, with
-minimal additional work required on the part of distribution maintainers.
+This recommendation is needed as, even though the majority of distributions
+still alias the ``python`` command to Python 2, some now alias it to
+Python 3 ([5]_). As some of the former distributions do not yet provide a
+``python2`` command by default, there is currently no way for Python 2 code
+(or any code that invokes the Python 2 interpreter directly rather than via
+``sys.executable``) to reliably run on all Unix-like systems without
+modification, as the ``python`` command will invoke the wrong interpreter
+version on some systems, and the ``python2`` command will fail completely
+on others. The recommendations in this PEP provide a very simple mechanism
+to restore cross-platform support, with minimal additional work required
+on the part of distribution maintainers.
+
+
+Future Changes to this Recommendation
+=====================================
+
+It is anticipated that there will eventually come a time where the third
+party ecosystem surrounding Python 3 is sufficiently mature for this
+recommendation to be updated to suggest that the ``python`` symlink
+refer to ``python3`` rather than ``python2``.
+
+This recommendation will be periodically reviewed over the next few years,
+and updated when the core development team judges it appropriate. As a
+point of reference, regular maintenance releases for the Python 2.7 series
+will continue until at least 2015.
Migration Notes
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list