On Tue, Jul 2, 2019 at 1:46 AM Juan Nunez-Iglesias <j...@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."
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion

Reply via email to