mirror of https://github.com/python/cpython
Note that as generates a warning too
This commit is contained in:
parent
e42e405e08
commit
055ec24bc4
|
@ -34,6 +34,8 @@ Core and builtins
|
||||||
|
|
||||||
- PEP 343: with statement implemented. Needs 'from __future__ import
|
- PEP 343: with statement implemented. Needs 'from __future__ import
|
||||||
with_statement'. Use of 'with' as a variable will generate a warning.
|
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
|
- Fix the encodings package codec search function to only search
|
||||||
inside its own package. Fixes problem reported in patch #1433198.
|
inside its own package. Fixes problem reported in patch #1433198.
|
||||||
|
|
Loading…
Reference in New Issue