diff options
author | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-06-26 11:03:10 +0300 |
---|---|---|
committer | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-06-26 11:03:10 +0300 |
commit | 84c8b402e9a85989cc5f89febbecb3bf83f73994 (patch) | |
tree | 618fe6a2933980eb30cdcd1f5696f0fdda588e1d /ChangeLog | |
parent | dde7afa51359b0a51b0a336a3dfbce4da0d719ee (diff) | |
download | pylint-84c8b402e9a85989cc5f89febbecb3bf83f73994.tar.gz |
Add a new error, 'star-needs-assignment-target'.
This error is emitted on Python 3 when a Starred expression (*x) is
not used in an assignment target. This is not caught when parsing the
AST on Python 3, so it needs to be a separate check.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -192,6 +192,10 @@ ChangeLog for Pylint which is used when a star import is detected in another scope than the module level, which is an error on Python 3. Using this will emit a SyntaxWarning on Python 2. + + * Add a new error, 'star-needs-assignment-target', emitted on Python 3 when + a Starred expression (*x) is not used in an assignment target. This is not + caught when parsing the AST on Python 3, so it needs to be a separate check. |