On Tue, Sep 17, 2019 at 6:56 AM Peter Andreas Entschev <peter@entschev.com> wrote:
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 page.

Just need to sort out the text.

-CHB


 

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


--

Christopher Barker, Ph.D.
Oceanographer

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@noaa.gov