Re: [Numpy-discussion] Using hypothesis in testing

2019-09-11 Thread Tyler Reddy
I think the pros outweigh the cons -- I'll comment briefly on the PR. On Mon, 9 Sep 2019 at 02:41, Matti Picus wrote: > We have discussed using the hypothesis package to generate test cases at a > few meetings informally. At the EuroSciPy sprint, kitchoi took up the > challenge and issued a

Re: [Numpy-discussion] NEP 31 — Context-local and global overrides of the NumPy API

2019-09-11 Thread Ralf Gommers
On Tue, Sep 10, 2019 at 10:53 AM Sebastian Berg wrote: > On Tue, 2019-09-10 at 17:28 +0200, Hameer Abbasi wrote: > > On 07.09.19 22:06, Sebastian Berg wrote: > > > > > > Now for the end-users choosing one array-like over another, seems > > > nicer > > > as an implicit mechanism (why should I not

Re: [Numpy-discussion] NEP 31 — Context-local and global overrides of the NumPy API

2019-09-11 Thread Stephan Hoyer
On Wed, Sep 11, 2019 at 4:18 PM Ralf Gommers wrote: > > > On Tue, Sep 10, 2019 at 10:59 AM Stephan Hoyer wrote: > >> On Tue, Sep 10, 2019 at 6:06 AM Hameer Abbasi >> wrote: >> >>> On 10.09.19 05:32, Stephan Hoyer wrote: >>> >>> On Mon, Sep 9, 2019 at 6:27 PM Ralf Gommers >>> wrote: >>> I

Re: [Numpy-discussion] NEP 31 — Context-local and global overrides of the NumPy API

2019-09-11 Thread Ralf Gommers
On Tue, Sep 10, 2019 at 10:59 AM Stephan Hoyer wrote: > On Tue, Sep 10, 2019 at 6:06 AM Hameer Abbasi > wrote: > >> On 10.09.19 05:32, Stephan Hoyer wrote: >> >> On Mon, Sep 9, 2019 at 6:27 PM Ralf Gommers >> wrote: >> >>> I think we've chosen to try the former - dispatch on functions so we

Re: [Numpy-discussion] NEP 32: Remove the financial functions from NumPy

2019-09-11 Thread Warren Weckesser
On 9/3/19, Warren Weckesser wrote: > Github issue 2880 ("Get financial functions out of main namespace", > https://github.com/numpy/numpy/issues/2880) has been open since 2013. In a > recent community meeting, it was suggested that we create a NEP to propose > the removal of the financial

Re: [Numpy-discussion] NEP 32: Remove the financial functions from NumPy

2019-09-11 Thread Warren Weckesser
On 9/9/19, D.S. McNeil wrote: > [coming over from the pydata post] > > I just checked about ~150KLOC of our Python code in a financial context, > written by about twenty developers over about four years. Almost every > function uses numpy, sometimes directly and sometimes via pandas. > > It