summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorClaudiu Popa <cpopa@cloudbasesolutions.com>2015-07-06 17:46:22 +0300
committerClaudiu Popa <cpopa@cloudbasesolutions.com>2015-07-06 17:46:22 +0300
commit020e84007e7cffb52936e021e6ddb40971f43f62 (patch)
tree7e94b78ec7dfef9de291bc03f8b8728076328869 /ChangeLog
parent4c5377ce1b4f59c96147851567b6c95d5ef7cd2e (diff)
downloadpylint-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--ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5c9eb39..bd23848 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.