]> granicus.if.org Git - python/commitdiff
Note that as generates a warning too
authorNeal Norwitz <nnorwitz@gmail.com>
Tue, 28 Feb 2006 20:06:49 +0000 (20:06 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Tue, 28 Feb 2006 20:06:49 +0000 (20:06 +0000)
Misc/NEWS

index b9c424b11888520e28c611133ee953e430c87264..fb248bf4e5dfcc7b96392737d050531473cd65df 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -34,6 +34,8 @@ Core and builtins
 
 - PEP 343: with statement implemented. Needs 'from __future__ import
   with_statement'. Use of 'with' as a variable will generate a warning.
+  Use of 'as' as a variable will also generate a warning (unless its
+  part of an import statement).
 
 - Fix the encodings package codec search function to only search
   inside its own package. Fixes problem reported in patch #1433198.