From 020e84007e7cffb52936e021e6ddb40971f43f62 Mon Sep 17 00:00:00 2001 From: Claudiu Popa Date: Mon, 6 Jul 2015 17:46:22 +0300 Subject: 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. --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') 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. -- cgit v1.2.1