Re: [Numpy-discussion] NEP 37: A dispatch protocol for NumPy-like modules

2020-04-10 Thread Sebastian Berg
On Fri, 2020-04-10 at 12:27 +0200, Ralf Gommers wrote: > > 3. I added features to allow transitioning:: > > > > get_array_module(*arrays, modules="numpy", > > future_modules=("dask.array", "cupy"), fallback="warn") > > > >Will give FutureWarning/DeprecationWarning where

Re: [Numpy-discussion] NEP 37: A dispatch protocol for NumPy-like modules

2020-04-10 Thread Ralf Gommers
On Thu, Apr 9, 2020 at 6:54 PM Sebastian Berg wrote: > On Thu, 2020-04-09 at 13:52 +0200, Ralf Gommers wrote: > > On Wed, Mar 4, 2020 at 1:22 AM Sebastian Berg < > > sebast...@sipsolutions.net> > > wrote: > > > > The NumPy version should normally be older than other libraries, and > > if > > >

Re: [Numpy-discussion] NEP 37: A dispatch protocol for NumPy-like modules

2020-04-10 Thread Ralf Gommers
On Fri, Apr 10, 2020 at 5:17 AM Sebastian Berg wrote: > On Thu, 2020-04-09 at 13:52 +0200, Ralf Gommers wrote: > > On Thu, Apr 9, 2020 at 12:02 AM Sebastian Berg < > > sebast...@sipsolutions.net> > > wrote: > > > > > > > > > > I think it would be nice to have a separate NEP 37 implementation >

Re: [Numpy-discussion] NEP 37: A dispatch protocol for NumPy-like modules

2020-04-10 Thread Ralf Gommers
On Fri, Apr 10, 2020 at 3:03 PM Sebastian Berg wrote: > On Fri, 2020-04-10 at 12:27 +0200, Ralf Gommers wrote: > > > 3. I added features to allow transitioning:: > > > > > > get_array_module(*arrays, modules="numpy", > > > future_modules=("dask.array", "cupy"), fallback="warn")

Re: [Numpy-discussion] NEP 37: A dispatch protocol for NumPy-like modules

2020-04-10 Thread Sebastian Berg
On Fri, 2020-04-10 at 18:19 +0200, Ralf Gommers wrote: > On Fri, Apr 10, 2020 at 3:03 PM Sebastian Berg < > sebast...@sipsolutions.net> > wrote: > > > On Fri, 2020-04-10 at 12:27 +0200, Ralf Gommers wrote: > > > > 3. I added features to allow transitioning:: > > > > > > > >