-
-
Notifications
You must be signed in to change notification settings - Fork 11k
TYP: default to dtype[Any]
#28669
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
TYP: default to dtype[Any]
#28669
Conversation
1be93d2
to
c48b082
Compare
c48b082
to
4b3a6b4
Compare
Thanks Joren. |
Is this the change that causes mypy unreachable warnings in code like this
? |
|
In case you meant
|
Sorry, the actual code is:
This works in mypy with numpy <2.2, but breaks in numpy 2.3. But the issue is caused by array.dtype no longer being Any -- sorry. |
No description provided.