From: Neal Norwitz Date: Tue, 28 Feb 2006 20:06:49 +0000 (+0000) Subject: Note that as generates a warning too X-Git-Tag: v2.5a0~471 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=055ec24bc4de656bf57e989100cc3050b0d12c33;p=python Note that as generates a warning too --- diff --git a/Misc/NEWS b/Misc/NEWS index b9c424b118..fb248bf4e5 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.