diff options
author | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-07-06 17:46:22 +0300 |
---|---|---|
committer | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-07-06 17:46:22 +0300 |
commit | 020e84007e7cffb52936e021e6ddb40971f43f62 (patch) | |
tree | 7e94b78ec7dfef9de291bc03f8b8728076328869 /ChangeLog | |
parent | 4c5377ce1b4f59c96147851567b6c95d5ef7cd2e (diff) | |
download | pylint-020e84007e7cffb52936e021e6ddb40971f43f62.tar.gz |
Add a new error, 'nonlocal-and-global'.
This error is emitted when a name is found to be both nonlocal and global in the same scope.
This is a SyntaxError in Python 2, but Python 3's ast happily parses it, so it needs
to be a separate error. Closes issue #581.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -209,6 +209,10 @@ ChangeLog for Pylint These were moved since they didn't belong in astroid. * Enable misplaced-future for Python 3. Closes issue #580. + + * Add a new error, 'nonlocal-and-global', which is emitted when a + name is found to be both nonlocal and global in the same scope. + Closes issue #581. |