Re: [Numpy-discussion] __skip_array_function__ discussion summary

2019-05-25 Thread Stephan Hoyer
Sebastian, Stefan and Marten -- thanks for the excellent summaries of the discussion. In line with this consensus, I have drafted a revision of the NEP without __skip_array_function__: https://github.com/numpy/numpy/pull/13624 On Thu, May 23, 2019 at 5:28 PM Marten van Kerkwijk < m.h.vankerkw...

Re: [Numpy-discussion] __skip_array_function__ discussion summary

2019-05-23 Thread Marten van Kerkwijk
Hi Sebastian, Stéfan, Thanks for the very good summaries! An additional item worth mentioning is that by using `__skip_array_function__` everywhere inside, one minimizes the performance penalty of checking for `__array_function__`. It would obviously be worth trying to do that, but ideally in a w

Re: [Numpy-discussion] __skip_array_function__ discussion summary

2019-05-23 Thread Stefan van der Walt
On Thu, 23 May 2019 14:33:17 -0700, Sebastian Berg wrote: > Those two options further have very different goals in mind for the > final usage of the protocol. So that right now the solution is to step > back, not include the addition and rather gain experience with the > NumPy 1.17 release that inc

[Numpy-discussion] __skip_array_function__ discussion summary

2019-05-23 Thread Sebastian Berg
Hi all, This is an attempt from me to wrap up the discussion a bit so that others can chime in if they want to. NumPy 1.17 will ship with `__array_function__` a way for array like projects (dask, cupy) to override almost all numpy functions [0]. This addition is uncontroversial. NumPy 1.17 will _