[Python-checkins] r80319 - in peps/trunk: pep-0328.txt pep-3147.txt
barry.warsaw
python-checkins at python.org
Wed Apr 21 22:02:37 CEST 2010
Author: barry.warsaw
Date: Wed Apr 21 22:02:37 2010
New Revision: 80319
Log:
PEP 0328: Absolute imports are *not* enabled in Python 2.7
PEP 3147: Temporarily fix a non-standard header
Modified:
peps/trunk/pep-0328.txt
peps/trunk/pep-3147.txt
Modified: peps/trunk/pep-0328.txt
==============================================================================
--- peps/trunk/pep-0328.txt (original)
+++ peps/trunk/pep-0328.txt Wed Apr 21 22:02:37 2010
@@ -7,7 +7,7 @@
Type: Standards Track
Content-Type: text/x-rst
Created: 21-Dec-2003
-Python-Version: 2.4, 2,5, 2.6, 2.7
+Python-Version: 2.4, 2,5, 2.6
Post-History: 8-Mar-2004
@@ -43,9 +43,7 @@
You may use relative imports freely. In Python 2.6, any ``import``
statement that results in an intra-package import will raise
``DeprecationWarning`` (this also applies to ``from <> import`` that
-fails to use the relative import syntax). In Python 2.7, ``import`` will
-always be an absolute import (and the ``__future__`` directive will no
-longer be needed).
+fails to use the relative import syntax).
Rationale for Parentheses
Modified: peps/trunk/pep-3147.txt
==============================================================================
--- peps/trunk/pep-3147.txt (original)
+++ peps/trunk/pep-3147.txt Wed Apr 21 22:02:37 2010
@@ -9,6 +9,7 @@
Created: 2009-12-16
Python-Version: 3.2
Post-History: 2010-01-30, 2010-02-25, 2010-03-03, 2010-04-12
+
Accepted: http://mail.python.org/pipermail/python-dev/2010-April/099414.html
More information about the Python-checkins
mailing list