-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
false redefined-outer-name when using del
#841
Comments
We don't understand deletions of values yet. |
This would be great addition. It's one of the most frequent errors we always get. I didn't look at the internals, but would it make sense to look at how mypy solves this (mypy understands |
I'm looking at how to approach this. this is the code near where "redefined-outer-name" is about to be emitted. In the orig example in this issue
Seems like we could use this information, particularly the fact that Thoughts? |
This seems dependent on #4795, doing it in each possible checker will be very hard to maintain and do right. |
Sounds good. Then the minor label isn't applicable, correct? |
minor means "polishing" i.e. low priority, not "easy to do " :) |
simple test code:
testing pylint-1.5.4 shows:
The text was updated successfully, but these errors were encountered: