Re: [Numpy-discussion] NEP: array API standard adoption (NEP 47)

2021-03-15 Thread Ralf Gommers
On Thu, Mar 11, 2021 at 6:08 PM Sebastian Berg wrote: > On Thu, 2021-03-11 at 12:37 +0100, Ralf Gommers wrote: > > On Wed, Mar 10, 2021 at 6:41 PM Sebastian Berg < > > sebast...@sipsolutions.net> > > wrote: > > > > > Top Posting, to discuss post specific questions about NEP 47 and > > > partially

Re: [Numpy-discussion] NEP: array API standard adoption (NEP 47)

2021-03-11 Thread Sebastian Berg
On Thu, 2021-03-11 at 12:37 +0100, Ralf Gommers wrote: > On Wed, Mar 10, 2021 at 6:41 PM Sebastian Berg < > sebast...@sipsolutions.net> > wrote: > > > Top Posting, to discuss post specific questions about NEP 47 and > > partially the start on implementing it in: > > > >     https://github.com/nu

Re: [Numpy-discussion] NEP: array API standard adoption (NEP 47)

2021-03-11 Thread Ralf Gommers
On Wed, Mar 10, 2021 at 11:41 PM Sebastian Berg wrote: > On Wed, 2021-03-10 at 13:44 -0700, Aaron Meurer wrote: > > On Wed, Mar 10, 2021 at 10:42 AM Sebastian Berg > > wrote: > > > > > > > 2. `np.result_type` special cases array-scalars (the current PR), > > > NEP > > > 47 promises it will not.

Re: [Numpy-discussion] NEP: array API standard adoption (NEP 47)

2021-03-11 Thread Ralf Gommers
On Wed, Mar 10, 2021 at 6:41 PM Sebastian Berg wrote: > Top Posting, to discuss post specific questions about NEP 47 and > partially the start on implementing it in: > > https://github.com/numpy/numpy/pull/18585 > > There are probably many more that will crop up. But for me, each of > these i

Re: [Numpy-discussion] NEP: array API standard adoption (NEP 47)

2021-03-10 Thread Sebastian Berg
On Wed, 2021-03-10 at 13:44 -0700, Aaron Meurer wrote: > On Wed, Mar 10, 2021 at 10:42 AM Sebastian Berg > wrote: > > > > Top Posting, to discuss post specific questions about NEP 47 and > > partially the start on implementing it in: > > > >     https://github.com/numpy/numpy/pull/18585 > > > >

Re: [Numpy-discussion] NEP: array API standard adoption (NEP 47)

2021-03-10 Thread Aaron Meurer
On Wed, Mar 10, 2021 at 10:42 AM Sebastian Berg wrote: > > Top Posting, to discuss post specific questions about NEP 47 and > partially the start on implementing it in: > > https://github.com/numpy/numpy/pull/18585 > > There are probably many more that will crop up. But for me, each of > these

Re: [Numpy-discussion] NEP: array API standard adoption (NEP 47)

2021-03-10 Thread Sebastian Berg
Top Posting, to discuss post specific questions about NEP 47 and partially the start on implementing it in: https://github.com/numpy/numpy/pull/18585 There are probably many more that will crop up. But for me, each of these is a pretty major difficulty without a clear answer as of now. 1. I

Re: [Numpy-discussion] NEP: array API standard adoption (NEP 47)

2021-02-23 Thread Ralf Gommers
On Mon, Feb 22, 2021 at 7:49 PM Sebastian Berg wrote: > On Sun, 2021-02-21 at 17:30 +0100, Ralf Gommers wrote: > > Hi all, > > > > Here is a NEP, written together with Stephan Hoyer and Aaron Meurer, > > for > > discussion on adoption of the array API standard ( > > https://data-apis.github.io/ar

Re: [Numpy-discussion] NEP: array API standard adoption (NEP 47)

2021-02-22 Thread Ralf Gommers
On Mon, Feb 22, 2021 at 8:52 PM Sebastian Berg wrote: > On Mon, 2021-02-22 at 20:16 +0100, Ralf Gommers wrote: > > > > > > > > > It seems the current idea is to create a new NumPy array subclass. > > > That > > > sounds good, but I am a bit worried how that is going to interact > > > with > > >

Re: [Numpy-discussion] NEP: array API standard adoption (NEP 47)

2021-02-22 Thread Sebastian Berg
On Mon, 2021-02-22 at 20:16 +0100, Ralf Gommers wrote: > > > > It seems the current idea is to create a new NumPy array subclass. > > That > > sounds good, but I am a bit worried how that is going to interact > > with > > actual NumPy arrays. > > > > Not a subclass! If you got that impression

Re: [Numpy-discussion] NEP: array API standard adoption (NEP 47)

2021-02-22 Thread Ralf Gommers
Thanks for the feedback Sebastian! On Mon, Feb 22, 2021 at 7:49 PM Sebastian Berg wrote: > On Sun, 2021-02-21 at 17:30 +0100, Ralf Gommers wrote: > > Hi all, > > > > Here is a NEP, written together with Stephan Hoyer and Aaron Meurer, > > for > > discussion on adoption of the array API standard

Re: [Numpy-discussion] NEP: array API standard adoption (NEP 47)

2021-02-22 Thread Sebastian Berg
On Sun, 2021-02-21 at 17:30 +0100, Ralf Gommers wrote: > Hi all, > > Here is a NEP, written together with Stephan Hoyer and Aaron Meurer, > for > discussion on adoption of the array API standard ( > https://data-apis.github.io/array-api/latest/). This will add a new > numpy.array_api submodule con

[Numpy-discussion] NEP: array API standard adoption (NEP 47)

2021-02-21 Thread Ralf Gommers
Hi all, Here is a NEP, written together with Stephan Hoyer and Aaron Meurer, for discussion on adoption of the array API standard ( https://data-apis.github.io/array-api/latest/). This will add a new numpy.array_api submodule containing that standardized API. The main purpose of this API is to be