Re: [Numpy-discussion] align `choices` and `sample` with Python `random` module

2018-12-10 Thread Ralf Gommers
On Sun, Dec 9, 2018 at 2:00 PM Alan Isaac wrote: > I believe this was proposed in the past to little enthusiasm, > with the response, "you're using a library; learn its functions". > Not only that, NumPy and the core libraries around it are the standard for numerical/statistical computing. If co

Re: [Numpy-discussion] the making of the NumPy roadmap

2018-12-10 Thread Ralf Gommers
On Sun, Dec 9, 2018 at 1:55 PM Charles R Harris wrote: > > > On Thu, Dec 6, 2018 at 10:24 PM Ralf Gommers > wrote: > >> Hi all, >> >> A little while ago I wrote a blog post about the history of us >> constructing the roadmap we currently have: >> https://rgommers.github.io/2018/10/the-making-of-

Re: [Numpy-discussion] align `choices` and `sample` with Python `random` module

2018-12-10 Thread Alan Isaac
On 12/10/2018 11:20 AM, Ralf Gommers wrote: there is nothing wrong with the current API Just to be clear: you completely reject the past cautions on this list against creating APIs with flag parameters. Is that correct? Or is "nothing wrong" just a narrow approval in this particular case? Al

Re: [Numpy-discussion] align `choices` and `sample` with Python `random` module

2018-12-10 Thread Tyler Reddy
I think the current random infrastructure is mostly considered frozen anyway, even for bugfixes, given the pending NEP to produce a new random infrastructure and the commitment therein to guarantee that old random streams behave the same way given their extensive use in testing and so on. Maybe the

Re: [Numpy-discussion] align `choices` and `sample` with Python `random` module

2018-12-10 Thread Ralf Gommers
On Mon, Dec 10, 2018 at 8:27 AM Alan Isaac wrote: > On 12/10/2018 11:20 AM, Ralf Gommers wrote: > > there is nothing wrong with the current API > > Just to be clear: you completely reject the past > cautions on this list against creating APIs > with flag parameters. Is that correct? > There's n

Re: [Numpy-discussion] align `choices` and `sample` with Python `random` module

2018-12-10 Thread Stephan Hoyer
On Mon, Dec 10, 2018 at 8:26 AM Alan Isaac wrote: > On 12/10/2018 11:20 AM, Ralf Gommers wrote: > > there is nothing wrong with the current API > > Just to be clear: you completely reject the past > cautions on this list against creating APIs > with flag parameters. Is that correct? > > Or is "n

Re: [Numpy-discussion] align `choices` and `sample` with Python `random` module

2018-12-10 Thread Warren Weckesser
On 12/10/18, Ralf Gommers wrote: > On Sun, Dec 9, 2018 at 2:00 PM Alan Isaac wrote: > >> I believe this was proposed in the past to little enthusiasm, >> with the response, "you're using a library; learn its functions". >> > > Not only that, NumPy and the core libraries around it are the standard