Unused variables msg should be silenced if locals() is used
Bug #970637 reported by
Domen Kožar
This bug report is a duplicate of:
Bug #872503: Pyflakes does not recognize locals() as a use.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pyflakes |
New
|
Undecided
|
Unassigned |
Bug Description
For example:
def test(a, b):
c = do_something(
return True
Warning for unused variable should be issued only for c, not also a and b.
To post a comment you must log in.
Submitted pull request: https:/ /github. com/kevinw/ pyflakes/ pull/25