Erroneous report of redefined symbol
Bug #1659273 reported by
Lele Gaifax
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pyflakes |
New
|
Undecided
|
Unassigned |
Bug Description
For the following snippet
from bar import bar
def foo():
pass
class X():
def foo(self):
pass
def bar(self):
pass
pyflakes reports the following errors:
pp.py:1: 'bar.bar' imported but unused
pp.py:10: redefinition of unused 'bar' from line 1
Note that only imported symbols trigger the problem.
To post a comment you must log in.