-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
"E1101: Module 'numpy' has no 'float_power' member (no-member)" #3319
Comments
@texadactyl thanks for the report! |
If you need anything from me, feel free. E.g. experimental pylint. |
I found the rest of the
Only the E0611 messages are relevant. Pity that I was unable to get back to this until today. |
I used the attached program to extract the Caveat: It needs more work to process a multi-level package like astropy. |
@texadactyl thank you so much for your investigation. I'll add those missing function into the corresponding brain. |
@texadactyl i added the missing functions. There are now part of the PR pylint-dev/astroid#738. |
The bug pylint-dev/pylint#3319 was caused due to a missing function, named float_power inside the brain_numpy_core_umath module. This brain is used to infer all the numpy's ufunc functions. The problem is that in the website documentation of numpy, in the section that list all those functions, there is not entry dealing with the float_power function. Also adds 5 missing functions detected by @texadactyl Closes pylint-dev/pylint#3319
Step 1 to reproduce
Create source file
essai.py
:Step 2 to reproduce
Current behavior
Expected behavior
No diagnostic messages. I believe that
pylint
misdiagnoses the XX2 assignment. There is, indeed, a float_power function in numpy.pylint --version output
The text was updated successfully, but these errors were encountered: