[Numpy-discussion] Revised NEP-18, __array_function__ protocol

Hameer Abbasi einstein.edison at gmail.com
Thu Jun 28 22:48:14 EDT 2018


Hi Martin,

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...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20180628/d828480f/attachment.html>


More information about the NumPy-Discussion mailing list