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

neal.norwitz python-checkins at python.org
Tue Feb 28 21:06:50 CET 2006


Author: neal.norwitz
Date: Tue Feb 28 21:06:49 2006
New Revision: 42675

Modified:
   python/trunk/Misc/NEWS
Log:
Note that as generates a warning too

Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Tue Feb 28 21:06:49 2006
@@ -34,6 +34,8 @@
 
 - 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.


More information about the Python-checkins mailing list