[Python-checkins] r42650 - python/trunk/Misc/NEWS

thomas.wouters python-checkins at python.org
Tue Feb 28 17:37:28 CET 2006


Author: thomas.wouters
Date: Tue Feb 28 17:37:25 2006
New Revision: 42650
Modified:
 python/trunk/Misc/NEWS
Log:
Wups, add NEWS item I'd written but not checked in.
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Tue Feb 28 17:37:25 2006
@@ -12,6 +12,12 @@
 Core and builtins
 -----------------
 
+- Patch #1438387, PEP 328: relative and absolute imports. Imports can now be
+ explicitly relative, using 'from .module import name' to mean 'from the same
+ package as this module is in. Imports without dots still default to the
+ old relative-then-absolute, unless 'from __future__ import
+ absolute_import' is used.
+
 - Properly check if 'warnings' raises an exception (usually when a filter set
 to "error" is triggered) when raising a warning for raising string
 exceptions.


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /