mirror of
https://github.com/python/cpython.git
synced 2025-09-28 11:15:17 +00:00
Note that as generates a warning too
This commit is contained in:
parent
e42e405e08
commit
055ec24bc4
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue