Repository navigation
Conversation
|
It's missing all the necessary extra tests and additional documentation, and it uses |
|
|
||
| lst = (PyArrayObject *)PyArray_ContiguousFromAny(list, NPY_INTP, 1, 1); | ||
| if (lst == NULL) { | ||
| list_arr = _array_from_object(list_obj, NPY_INTP, 0); |
There was a problem hiding this comment.
Why is the output type intp? That seems somewhat arbitrary, and it would seem more sensible to respect the type of the out argument
There was a problem hiding this comment.
Hmm... Perhaps we could mix in here some of the ideas in #7464, which I apparently abandoned for no good reason. Will give it some thought.
There was a problem hiding this comment.
I expect the biggest problem was what do about backcompat.
There was a problem hiding this comment.
For this PR, isn't it fine to keep the list integer?
|
Test failure looks legitimate. |
|
Couple of compiler warnings to deal with. |
|
This is still a nice idea. I'm not quite sure what got it stuck... To get around the weirdness of not initializing |
|
Please fix this PR as it would be a useful addition. |
|
Closing since it has not been touched for quite a while. This may be useful, if someone else wants to pick it up. |
Fixes #9397.