-
Notifications
You must be signed in to change notification settings - Fork 767
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
np.equal is not a known member of module Pylance #504
Comments
Duplicate of #150; this should be improved once numpy releases with type stubs. Numpy has some dynamic behaviors that prevent us from knowing if certain values exist, or should be re-exported from modules. Their new stub is much more clear. |
Thanks for the explanations; Am I correct in deducing that Pylance and Numpy will only play well together with future versions of Numpy, whenever they support type stubs? |
Some things work, but others don't. At some point we may add back compiled code scraping, but that is difficult to do correctly and doesn't fit nicely into the type system/analysis without some more thought. |
Environment data
Expected behaviour
no error highlight when typing:
Actual behaviour
an error is indicated:
Logs
Code Snippet / Additional information
The text was updated successfully, but these errors were encountered: