diff options
| author | Bryce Guinta <bryce.paul.guinta@gmail.com> | 2018-02-26 17:19:51 -0700 |
|---|---|---|
| committer | Bryce Guinta <bryce.paul.guinta@gmail.com> | 2018-03-03 01:10:02 -0700 |
| commit | 2746fe3a0faaf7bc5cd002af9408460f383d867b (patch) | |
| tree | a07d111d35a9f2820400ce4e6bc007732c805231 /ChangeLog | |
| parent | fbb93327a3e85a3c4661261c0bd6a0735a53acf7 (diff) | |
| download | pylint-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-- | ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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? ========================== |
