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

2018-12-11 Thread Warren Weckesser
On Tue, Dec 11, 2018 at 2:27 PM Stephan Hoyer wrote: > On Tue, Dec 11, 2018 at 10:39 AM Warren Weckesser < > warren.weckes...@gmail.com> wrote: > >> There is no bug, just a limitation in the API. >> >> When I draw without replacement, say, three values from a collection of >> length five, the thr

[Numpy-discussion] Reminder: weekly status meeting Dec 12 at 12:00 pacific time

2018-12-11 Thread Matti Picus
The draft agenda is at https://hackmd.io/Gn1ymjwkRjm9WVY5Cgbwsw?both Everyone is invited to join. Matti, Tyler and Stefan ___ NumPy-Discussion mailing list NumPy-Discussion@python.org https://mail.python.org/mailman/listinfo/numpy-discussion

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

2018-12-11 Thread Stephan Hoyer
On Tue, Dec 11, 2018 at 10:39 AM Warren Weckesser < warren.weckes...@gmail.com> wrote: > There is no bug, just a limitation in the API. > > When I draw without replacement, say, three values from a collection of > length five, the three values that I get are not independent. So really, > this is

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

2018-12-11 Thread Warren Weckesser
On Tue, Dec 11, 2018 at 1:37 PM Warren Weckesser wrote: > > > On Tue, Dec 11, 2018 at 10:32 AM Ralf Gommers > wrote: > >> >> >> On Mon, Dec 10, 2018 at 10:27 AM Warren Weckesser < >> warren.weckes...@gmail.com> wrote: >> >>> >>> >>> On 12/10/18, Ralf Gommers wrote: >>> > On Sun, Dec 9, 2018 at

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

2018-12-11 Thread Warren Weckesser
On Tue, Dec 11, 2018 at 10:32 AM Ralf Gommers wrote: > > > On Mon, Dec 10, 2018 at 10:27 AM Warren Weckesser < > warren.weckes...@gmail.com> wrote: > >> >> >> 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 pas

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

2018-12-11 Thread Ralf Gommers
On Mon, Dec 10, 2018 at 10:27 AM Warren Weckesser < warren.weckes...@gmail.com> wrote: > > > 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 librar