[Numpy-discussion] __array_function related regression for 1.17.0rc1
Stephan Hoyer
shoyer at gmail.com
Tue Jul 2 11:19:23 EDT 2019
On Tue, Jul 2, 2019 at 1:46 AM Juan Nunez-Iglesias <jni at fastmail.com> wrote:
> I'm also wondering where the list of functions that must be implemented
> can be found, so that libraries like dask and CuPy can be sure that they
> have a complete implementation, and further typeerrors won't be raised with
> their arrays.
>
This is a good question. We don't have a master list currently.
In practice, I would be surprised if there is ever more than exactly one
full implementation of NumPy's full API. We added dispatch with
__array_function__ even to really obscure corners of NumPy's API, e.g.,
np.lib.scimath.
The short answer right now is "Any publicly exposed function that says it
takes array-like arguments, aside from functions specifically for coercing
to NumPy arrays and the functions in numpy.testing."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20190702/121e4afc/attachment.html>
More information about the NumPy-Discussion
mailing list