Commit 7c5ba513 authored by Petri Lehtinen's avatar Petri Lehtinen

#14494: Document that absolute imports became default in 3.0 instead of 2.7.

parents ed1183db 079bfc96
......@@ -75,7 +75,7 @@ language using this mechanism:
| division | 2.2.0a2 | 3.0 | :pep:`238`: |
| | | | *Changing the Division Operator* |
+------------------+-------------+--------------+---------------------------------------------+
| absolute_import | 2.5.0a1 | 2.7 | :pep:`328`: |
| absolute_import | 2.5.0a1 | 3.0 | :pep:`328`: |
| | | | *Imports: Multi-Line and Absolute/Relative* |
+------------------+-------------+--------------+---------------------------------------------+
| with_statement | 2.5.0a1 | 2.6 | :pep:`343`: |
......
......@@ -114,7 +114,7 @@ division = _Feature((2, 2, 0, "alpha", 2),
CO_FUTURE_DIVISION)
absolute_import = _Feature((2, 5, 0, "alpha", 1),
(2, 7, 0, "alpha", 0),
(3, 0, 0, "alpha", 0),
CO_FUTURE_ABSOLUTE_IMPORT)
with_statement = _Feature((2, 5, 0, "alpha", 1),
......
......@@ -10,6 +10,10 @@ What's New in Python 3.3.0 Alpha 4?
Core and Builtins
-----------------
- Issue #14494: Fix __future__.py and its documentation to note that
absolute imports are the default behavior in 3.0 instead of 2.7.
Patch by Sven Marnach.
- Issue #9260: A finer-grained import lock. Most of the import sequence
now uses per-module locks rather than the global import lock, eliminating
well-known issues with threads and imports.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment