diff options
| author | Radu Ciorba <radu@devrandom.ro> | 2015-03-22 00:32:42 +0200 |
|---|---|---|
| committer | Radu Ciorba <radu@devrandom.ro> | 2015-03-22 00:32:42 +0200 |
| commit | a93a51bbf9e956e6e88c5eef7ea0b6346fb2bc7e (patch) | |
| tree | 1d05243d30051782fb80fce3229f61710fe7fad6 /ChangeLog | |
| parent | db47e6ae3e7f1838d4b38b213514461114d79bab (diff) | |
| download | pylint-confusing-with-statement.tar.gz | |
add warning for confusing usage of with statementconfusing-with-statement
Emitted when an ambiguous looking with statement is used.
For example `with open() as first, second` which looks like a
tuple assignment but is actually 2 context managers.
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -2,6 +2,11 @@ ChangeLog for Pylint -------------------- -- + * Add a new warning, 'confusing-with-statement', emitted by the + base checker, when an ambiguous looking with statement is used. + For example `with open() as first, second` which looks like a + tuple assignment but is actually 2 context managers. + * Add a new warning, 'duplicate-except', emitted when there is an exception handler which handles an exception type that was handled before. Closes issue #485. |
