[Numpy-discussion] Should unique types of all arguments be passed on in __array_function__?

Hameer Abbasi einstein.edison at gmail.com
Sat Nov 10 18:16:33 EST 2018


In that case, ignore my comment. :)

Best Regards,
Hameer Abbasi

> On Saturday, Nov 10, 2018 at 11:52 PM, Stephan Hoyer <shoyer at gmail.com (mailto:shoyer at gmail.com)> wrote:
> On Sat, Nov 10, 2018 at 2:08 PM Hameer Abbasi <einstein.edison at gmail.com (mailto:einstein.edison at gmail.com)> wrote:
> > I agree with Stephan here, other than the fact that ndarray should be in the list of types. I can think of many cases in PyData/Sparse where I dont want to allow mixed inputs, but maybe that’s a tangential discussion.
> >
> >
>
>
> To be clear: ndarray *is* currently preserved in the list of types passed to __array_function__ (because ndarray.__array_function__ is defined). _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at python.org
> https://mail.python.org/mailman/listinfo/numpy-discussion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20181111/f5e8067c/attachment-0001.html>


More information about the NumPy-Discussion mailing list