<div dir="ltr"><div dir="ltr">On Tue, Sep 17, 2019 at 6:56 AM Peter Andreas Entschev <<a href="mailto:peter@entschev.com">peter@entschev.com</a>> wrote:</div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I agree with your point and understand how the current text may be<br>
misleading, so we shall make it clearer in the NEP (as done in<br>
<a href="https://github.com/numpy/numpy/pull/14529" rel="noreferrer" target="_blank">https://github.com/numpy/numpy/pull/14529</a>) that both are valid ways:<br>
<br>
* Have a genuine implementation of __array__ (like Dask, as pointed<br>
out by Stephan); or<br>
* Raise an exception (as CuPy does).<br></blockquote><div><br></div><div>great -- sounds like we're all (well three of us anyway) are on teh same page.</div><div><br></div><div>Just need to sort out the text.</div><div><br></div><div>-CHB</div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Thanks for opening the PR, I will comment there as well.<br>
_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@python.org" target="_blank">NumPy-Discussion@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/numpy-discussion" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/numpy-discussion</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><br>Christopher Barker, Ph.D.<br>Oceanographer<br><br>Emergency Response Division<br>NOAA/NOS/OR&R            (206) 526-6959   voice<br>7600 Sand Point Way NE   (206) 526-6329   fax<br>Seattle, WA  98115       (206) 526-6317   main reception<br><br><a href="mailto:Chris.Barker@noaa.gov" target="_blank">Chris.Barker@noaa.gov</a></div></div>