]> granicus.if.org Git - python/commitdiff
Remove code that tried to warn about shadowing builtin names after a
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>
Wed, 16 Jul 2003 22:19:24 +0000 (22:19 +0000)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>
Wed, 16 Jul 2003 22:19:24 +0000 (22:19 +0000)
module had been compiled.  It gives too many spurious warnings.

Misc/NEWS

index a98d410555fc57e343458c6288439fa58e3cc7ef..988876a26d5dd53c9faa8fe8a0025122f7c46a88 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -145,12 +145,6 @@ Core and builtins
   instead of going through __getitem__.  If __getitem__ access is
   preferred, then __iter__ can be overridden.
 
-- 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).
-
 - SF bug 735247: The staticmethod and super types participate in
   garbage collection. Before this change, it was possible for leaks to
   occur in functions with non-global free variables that used these types.