summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorRadu Ciorba <radu@devrandom.ro>2015-03-22 00:32:42 +0200
committerRadu Ciorba <radu@devrandom.ro>2015-03-22 00:32:42 +0200
commita93a51bbf9e956e6e88c5eef7ea0b6346fb2bc7e (patch)
tree1d05243d30051782fb80fce3229f61710fe7fad6 /ChangeLog
parentdb47e6ae3e7f1838d4b38b213514461114d79bab (diff)
downloadpylint-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--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index cfc015d..e40d521 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.