Re: [Numpy-discussion] Approving NEP 27 - Historical discussion of 0-D arrays

2018-10-17 Thread Stephan Hoyer
On Wed, Oct 17, 2018 at 10:59 AM Matti Picus wrote: > In PR 12166 https://github.com/numpy/numpy/pull/12166 we revived an old > wiki document discussing the implementation of 0-dimensional arrays. > This became informational NEP-27 > http://www.numpy.org/neps/nep-0027-zero-rank-arrarys.html. Ther

Re: [Numpy-discussion] Approving NEP 27 - Historical discussion of 0-D arrays

2018-10-17 Thread Stephan Hoyer
On Wed, Oct 17, 2018 at 4:16 PM Stefan van der Walt wrote: > On Wed, 17 Oct 2018 20:58:55 +0300, Matti Picus wrote: > > http://www.numpy.org/neps/nep-0027-zero-rank-arrarys.html. There was > > fruitful discussion of the NEP and the need for both 0-D arrays and > scalars > > on the PR comments. >

Re: [Numpy-discussion] Approving NEP 27 - Historical discussion of 0-D arrays

2018-10-17 Thread Stefan van der Walt
On Wed, 17 Oct 2018 20:58:55 +0300, Matti Picus wrote: > http://www.numpy.org/neps/nep-0027-zero-rank-arrarys.html. There was > fruitful discussion of the NEP and the need for both 0-D arrays and scalars > on the PR comments. Were those comments integrated back into the NEP? If not, can we add a

Re: [Numpy-discussion] Approving NEP 27 - Historical discussion of 0-D arrays

2018-10-17 Thread Hameer Abbasi
Hi everyone, Ah, I neglected to see that the PR was already merged. In any case, I’ll repeat my comment here (referring to the indexing section): I would suggest that this section be removed entirely or updated. For example, if xis either an array scalar or a rank zero array, x[...] is guarante

[Numpy-discussion] Approving NEP 27 - Historical discussion of 0-D arrays

2018-10-17 Thread Matti Picus
In PR 12166 https://github.com/numpy/numpy/pull/12166 we revived an old wiki document discussing the implementation of 0-dimensional arrays. This became informational NEP-27 http://www.numpy.org/neps/nep-0027-zero-rank-arrarys.html. There was fruitful discussion of the NEP and the need for both