Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Erroneous report of redefined symbol #263

Closed
pyflakes-bot opened this issue Jan 25, 2017 · 1 comment
Closed

Erroneous report of redefined symbol #263

pyflakes-bot opened this issue Jan 25, 2017 · 1 comment

Comments

@pyflakes-bot
Copy link

Original report by lelegaifax on Launchpad:


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.

@myint
Copy link
Member

myint commented May 31, 2017

The same thing was reported again in #268. I'll close this one since the other had responses.

@myint myint closed this as completed May 31, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants