Skip to content
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

MNT: use compat functions for accessing dtype state #475

Closed
wants to merge 1 commit into from

Conversation

tacaswell
Copy link

This complies with the numpy main branch, but did not test with older versions of numpy (I suspect it wont work due to missing functions)

The np_2_compat.h is designed to be vendored down stream, I think the question is if numexpr wants the whole thing or just the minimal sub-set needed to fix these problems.

@FrancescAlted
Copy link
Contributor

Ok, your PR does not compile yet. I think there should be no problem in vendoring np_2_compat.h, but at any rate, you could start by adding it here and decide later. Thanks!

@FrancescAlted
Copy link
Contributor

Overridden by #478

@tacaswell
Copy link
Author

🎉 Thank you! I did not have time to come back and finish this and it looks like @neutrinoceros did a better job than I would have anyway!

@tacaswell tacaswell deleted the mn/np2_compat branch April 1, 2024 21:59
@neutrinoceros
Copy link
Contributor

Oh my, I absolutely didn't realize I was scoping your PR, sorry I didn't look hard enough !

@tacaswell tacaswell restored the mn/np2_compat branch April 8, 2024 20:33
@tacaswell tacaswell deleted the mn/np2_compat branch April 8, 2024 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants