-
-
Notifications
You must be signed in to change notification settings - Fork 218
Closed
Description
We deprecated NPY_ARRAY_UPDATEIFCOPY a pretty long time ago, but with a Python warning. There is one (probably almost never used) branch that still has an NPY_ARRAY_UPDATEIFCOPY . NumPy main currently removes the symbol entirely, so this will not work. And if compiled on older NumPy versions, it would just do the wrong thing (not copy back).
It is in an n_inputs == 0 branch, is that branch meaningless enough, or should we fix this here, and delay the deprecation for one release in NumPy for the sake of numexpr?
Here is the code:
numexpr/numexpr/interpreter.cpp
Line 1271 in d745933
| a = (PyArrayObject *)PyArray_FromArray(operands[0], dtypes[0], |
Metadata
Metadata
Assignees
Labels
No labels