Re: [Numpy-discussion] np.{bool,float,int} deprecation

2020-12-07 Thread Aaron Meurer
Regarding np.bool specifically, if you want to deprecate this, you might want to discuss this with us at the array API standard https://github.com/data-apis/array-api (which is currently in RFC stage). The spec uses bool as the name for the boolean dtype. Would it make sense for NumPy to change

[Numpy-discussion] NEP 42 being accepted (New and extensible DTypes)

2020-12-07 Thread Sebastian Berg
Hi all, It has been a very long time since my emails asking to accept the NEP: https://mail.python.org/pipermail/numpy-discussion/2020-October/081038.html Happy to wait for a bit longer, but without any hesitation/points raised, I consider the NEP as accepted. At this time most of the

Re: [Numpy-discussion] np.{bool,float,int} deprecation

2020-12-07 Thread Eric Wieser
If the CI noise in downstream libraries is particularly painful, we could switch to `PendingDeprecationWarning` instead of `DeprecationWarning` to make it easier to add the warnings to an ignore list. I think this might make the warning less visible to end users though, who are the users that this

Re: [Numpy-discussion] np.{bool,float,int} deprecation

2020-12-07 Thread Ralf Gommers
On Sun, Dec 6, 2020 at 4:23 PM Sebastian Berg wrote: > On Sat, 2020-12-05 at 20:12 -0700, Charles R Harris wrote: > > On Sat, Dec 5, 2020 at 4:31 PM Juan Nunez-Iglesias > > wrote: > > > > > Hi all, > > > > > > At the prodding [1] of Sebastian, I’m starting a discussion on the > > > decision to