Re: [Numpy-discussion] Adding to the non-dispatched implementation of NumPy methods

2019-04-15 Thread Stefan van der Walt
I thought this was simply a slot to store the NumPy version of the dispatched method, so that you could see easily call through to it and extend it. Stephan, was there a deeper intent here that I missed? Best regards, Stéfan On April 15, 2019 20:32:35 Nathaniel Smith wrote: On Mon, Apr 15,

Re: [Numpy-discussion] Adding to the non-dispatched implementation of NumPy methods

2019-04-15 Thread Nathaniel Smith
On Mon, Apr 15, 2019 at 4:39 PM Stephan Hoyer wrote: > > On Mon, Apr 15, 2019 at 1:21 PM Nathaniel Smith wrote: >> >> What's the difference between >> >> np.concatenate.__numpy_implementation__(...) >> >> and >> >> np.ndarray.__array_function__(np.concatenate, ...) >> >> ? > > > I can answer this

Re: [Numpy-discussion] Adding to the non-dispatched implementation of NumPy methods

2019-04-15 Thread Stephan Hoyer
On Mon, Apr 15, 2019 at 1:21 PM Nathaniel Smith wrote: > What's the difference between > > np.concatenate.__numpy_implementation__(...) > > and > > np.ndarray.__array_function__(np.concatenate, ...) > > ? > I can answer this technically, though this doesn't seem to be quite what you're looking f

Re: [Numpy-discussion] Adding to the non-dispatched implementation of NumPy methods

2019-04-15 Thread Nathaniel Smith
What's the difference between np.concatenate.__numpy_implementation__(...) and np.ndarray.__array_function__(np.concatenate, ...) ? More generally, I guess I'm not quite clear on how to think about what the "no dispatch" version does, because obviously it doesn't make sense to have *no* dispat

Re: [Numpy-discussion] Adding to the non-dispatched implementation of NumPy methods

2019-04-15 Thread Stefan van der Walt
On Mon, 15 Apr 2019 08:30:06 -0700, Stephan Hoyer wrote: > We have a proposed a revision to NEP-18 (__array_function__). The proposal > is for an adding an alias to the non-dispatched version of NumPy array > functions in the __numpy_implementation__ function attribute: > https://github.com/numpy/n

[Numpy-discussion] Adding to the non-dispatched implementation of NumPy methods

2019-04-15 Thread Stephan Hoyer
Hi everyone, We have a proposed a revision to NEP-18 (__array_function__). The proposal is for an adding an alias to the non-dispatched version of NumPy array functions in the __numpy_implementaiton__ function attribute: https://github.com/numpy/numpy/pull/13305 I believe this attribute improves

Re: [Numpy-discussion] adding Quansight Labs as institutional partner

2019-04-15 Thread Ralf Gommers
On Thu, Apr 11, 2019 at 10:03 PM Ralf Gommers wrote: > > > On Tue, Apr 9, 2019 at 6:25 PM Ralf Gommers > wrote: > >> >> >> Thanks Alan, good questions. The donations via the Flipcause site go to >> NumFOCUS. NumFOCUS is a 501(c)3 and NumPy's fiscal sponsor, so any >> individual or institution th