[Numpy-discussion] Revised NEP-18, __array_function__ protocol
einstein.edison at gmail.com
Thu Jun 28 22:48:14 EDT 2018
It is. The point of the proposed feature was to handle array generation
mechanisms, that don't take an array as input in the standard NumPy API.
Giving them a reference handles both the dispatch and the decision about
which implementation to call.
I'm confused: Isn't your reference array just `self`?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion