divmod-dev team mailing list archive
-
divmod-dev team
-
Mailing list archive
-
Message #00242
[Bug 970637] Re: Unused variables msg should be silenced if locals() is used
Submitted pull request: https://github.com/kevinw/pyflakes/pull/25
--
You received this bug notification because you are a member of Divmod-
dev, which is the registrant for Pyflakes.
https://bugs.launchpad.net/bugs/970637
Title:
Unused variables msg should be silenced if locals() is used
Status in Pyflakes:
New
Bug description:
For example:
def test(a, b):
c = do_something(locals())
return True
Warning for unused variable should be issued only for c, not also a
and b.
To manage notifications about this bug go to:
https://bugs.launchpad.net/pyflakes/+bug/970637/+subscriptions
References