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 positive no-member for enum.Enum's _value2member_map_. #3941
Comments
@jamesbraza thanks for the report. It is probably a lack in the |
Can be closed once https://github.com/PyCQA/astroid/milestone/58 is released. |
Closing! |
Unfortunately, this wasn't actually included in astroid |
@cdce8p can you help me understand what you're referring to? When I compare the tags for 2.11 and 2.10, I see this change included. I also downloaded the source for 2.11 from PyPI to be absolutely sure, and I see it there also. We might need to undo part of pylint-dev/astroid#1863. |
You're right. Seems like I got confused with the different commits. Usually I open the commit from them merge message (in the PR). I.e. this one: pylint-dev/astroid@3d4dc50. Looking at the branches / tags it's included only shows
Only partially, but yes. Would you like to do it? |
Sure thing! pylint-dev/astroid#1874 |
Steps to reproduce
Here's a minimal repro:
Current behavior
Running
pylint
has the output:Expected behavior
As the
_value2member_map_
attribute is present, I thinkpylint
should not warn that it's not present.pylint --version output
The text was updated successfully, but these errors were encountered: