From 055ec24bc4de656bf57e989100cc3050b0d12c33 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Tue, 28 Feb 2006 20:06:49 +0000 Subject: [PATCH] Note that as generates a warning too --- Misc/NEWS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Misc/NEWS b/Misc/NEWS index b9c424b1188..fb248bf4e5d 100644 --- 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.