numexpr
numexpr copied to clipboard
MNT: use compat functions for accessing dtype state
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.
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!
Overridden by https://github.com/pydata/numexpr/pull/478
🎉 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!
Oh my, I absolutely didn't realize I was scoping your PR, sorry I didn't look hard enough !