summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 6c9f5e5..35b35b8 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -43,6 +43,12 @@ Core and builtins
instead of going through __getitem__. If __getitem__ access is
preferred, then __iter__ can be overriden.
+- Creating an attribute on a module (i.e. a global variable created by
+ __setattr__) that causes a builtin name to be shadowed now raises a
+ DeprecationWarning. In future versions of Python the effect may be
+ undefined (in order to allow for optimization of global and builtin
+ name lookups).
+
Extension modules
-----------------