[Numpy-discussion] NEP 30 - Duck Typing for NumPy Arrays - Implementation

Chris Barker chris.barker at noaa.gov
Tue Sep 17 18:04:01 EDT 2019

On Tue, Sep 17, 2019 at 6:56 AM Peter Andreas Entschev <peter at entschev.com>

> I agree with your point and understand how the current text may be
> misleading, so we shall make it clearer in the NEP (as done in
> https://github.com/numpy/numpy/pull/14529) that both are valid ways:
> * Have a genuine implementation of __array__ (like Dask, as pointed
> out by Stephan); or
> * Raise an exception (as CuPy does).

great -- sounds like we're all (well three of us anyway) are on teh same

Just need to sort out the text.


> Thanks for opening the PR, I will comment there as well.
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at python.org
> https://mail.python.org/mailman/listinfo/numpy-discussion


Christopher Barker, Ph.D.

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20190917/da0817b1/attachment.html>

More information about the NumPy-Discussion mailing list