Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1.2k
tidy: Improve comment on np-special casing#10514
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Thank you for opening this pull request! It may take us a few days to respond here, so thank you for being patient. |
Looks like this is failing due to dask not having implemented |
keewis commentedJul 8, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
it's not just that: we're still maintaining backwards compatibility with Either way, thanks for the PR. Unfortunately, I think this might not be the right time, yet. Edit: but maybe you can repurpose the PR to make the comment more accurate? I.e. that this is for backwards-compat and |
feb81db
to0ef6138
Compare@keewis Done. |
keewis commentedJul 10, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I think you force-pushed back to the original state (I think we need the changes fromfeb81db).
|
Oops, sorry about that, pushed again. |
but I didn't get why it's under the condition |
np.astype became available in numpy 2.0The special case is still needed, however, to support older numpy as well as dask.
Thanks! This looks good to me.
|
Ah, I see. Thanks! |
np.astype
became available in numpy 2.1