Repository navigation
DEP: Raise warnings for deprecated functions PyArray_As1D, PyArray_As2D - #14036
Conversation
|
Unfortunately we really cannot remove these from |
|
My bad, @mattip how do we deal with raising exceptions in C side of functions, any previous PR or example? |
|
The return value will be different from each function, and in the general case there may be cleanup to be done (not in this simple case). Since there is no |
|
I'm not sure how to go ahead with this since the travis builds are failing due to reasons jargon to me. Based on a discussion with @seberg recently, builds are failing due to presence of unused lines of code in the functions being deprecated. A possible solution is to just set the error message and return -1, and omit all other lines in the body of function. Should I try this? |
|
OK, lets put this in now that the tests pass. thanks Kriti. |
Related to #11521