summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorBryce Guinta <bryce.paul.guinta@gmail.com>2018-02-26 17:19:51 -0700
committerBryce Guinta <bryce.paul.guinta@gmail.com>2018-03-03 01:10:02 -0700
commit2746fe3a0faaf7bc5cd002af9408460f383d867b (patch)
treea07d111d35a9f2820400ce4e6bc007732c805231 /ChangeLog
parentfbb93327a3e85a3c4661261c0bd6a0735a53acf7 (diff)
downloadpylint-git-2746fe3a0faaf7bc5cd002af9408460f383d867b.tar.gz
Check if node is in list comprehension in function defaults
List comprehensions in python 2 do not have scope. If the local scope is skipped, then generated variables values will raise a false-positive. Close #1897
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index aa08a92f6..64f296049 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -27,6 +27,11 @@ Release date: -
Close #1824
+ * Fix false-positive ``undefined-variable`` for generated
+ comprehension variables in function default arguments
+
+ Close #1897
+
What's New in Pylint 1.8.2?
==========================