Re: [Numpy-discussion] Would like to patch docstring for numpy.random.normal

2015-03-12 Thread Sebastian Berg
On Di, 2015-03-10 at 11:22 -0700, Nathaniel Smith wrote: > On Mar 10, 2015 11:15 AM, "Paul Hobson" wrote: > > > > > > On Mon, Mar 9, 2015 at 4:33 PM, Charles R Harris > wrote: > >> > >> > >> > >> On Mon, Mar 9, 2015 at 2:34 PM, Paul Hobson > wrote: > >>> > >>> I feel your pain. Making it worse,

Re: [Numpy-discussion] Would like to patch docstring for numpy.random.normal

2015-03-10 Thread Paul Hobson
On Tue, Mar 10, 2015 at 11:22 AM, Nathaniel Smith wrote: > On Mar 10, 2015 11:15 AM, "Paul Hobson" wrote: > > > > > > On Mon, Mar 9, 2015 at 4:33 PM, Charles R Harris < > charlesr.har...@gmail.com> wrote: > >> > >> > >> > >> On Mon, Mar 9, 2015 at 2:34 PM, Paul Hobson wrote: > >>> > >>> I feel

Re: [Numpy-discussion] Would like to patch docstring for numpy.random.normal

2015-03-10 Thread Sturla Molden
On 09/03/15 21:34, Paul Hobson wrote: > I feel your pain. Making it worse, numpy.random.lognormal takes "mean" > and "sigma" as input. If there's ever a backwards incompatible release, > I hope these things will be cleared up. The question is how... The fix is obvious, but the consequences are un

Re: [Numpy-discussion] Would like to patch docstring for numpy.random.normal

2015-03-10 Thread Nathaniel Smith
On Mar 10, 2015 11:15 AM, "Paul Hobson" wrote: > > > On Mon, Mar 9, 2015 at 4:33 PM, Charles R Harris < charlesr.har...@gmail.com> wrote: >> >> >> >> On Mon, Mar 9, 2015 at 2:34 PM, Paul Hobson wrote: >>> >>> I feel your pain. Making it worse, numpy.random.lognormal takes "mean" and "sigma" as in

Re: [Numpy-discussion] Would like to patch docstring for numpy.random.normal

2015-03-10 Thread Paul Hobson
On Mon, Mar 9, 2015 at 4:33 PM, Charles R Harris wrote: > > > On Mon, Mar 9, 2015 at 2:34 PM, Paul Hobson wrote: > >> I feel your pain. Making it worse, numpy.random.lognormal takes "mean" >> and "sigma" as input. If there's ever a backwards incompatible release, I >> hope these things will be c

Re: [Numpy-discussion] Would like to patch docstring for numpy.random.normal

2015-03-09 Thread Charles R Harris
On Mon, Mar 9, 2015 at 2:34 PM, Paul Hobson wrote: > I feel your pain. Making it worse, numpy.random.lognormal takes "mean" and > "sigma" as input. If there's ever a backwards incompatible release, I hope > these things will be cleared up. > There is a numpy 2.0 milestone ;) Chuck ___

Re: [Numpy-discussion] Would like to patch docstring for numpy.random.normal

2015-03-09 Thread Paul Hobson
I feel your pain. Making it worse, numpy.random.lognormal takes "mean" and "sigma" as input. If there's ever a backwards incompatible release, I hope these things will be cleared up. On Tue, Mar 3, 2015 at 9:59 PM, Daniel Sank wrote: > Sturia, > > > Change the name of keyword arguments? > > Th

Re: [Numpy-discussion] Would like to patch docstring for numpy.random.normal

2015-03-03 Thread Daniel Sank
Sturia, > Change the name of keyword arguments? > This would be evil. Yes, I see this now. It is really a shame these were defined as keyword arguments. I've shown the docstring to a few people and so far they all agree that it is unnecessarily convoluted.

Re: [Numpy-discussion] Would like to patch docstring for numpy.random.normal

2015-03-03 Thread Sturla Molden
Daniel Sank wrote: > It seems unnecessarily convoluted to name the input arguments "loc" and > "scale", then immediately define them as the "mean" and "standard > deviation" in the Parameters section, and then again rename them as "mu" > and "sigma" in the written formula. I propose to simply ch

[Numpy-discussion] Would like to patch docstring for numpy.random.normal

2015-02-25 Thread Daniel Sank
Dear numpy users, I would like to clarify the docstring for numpy.random.normal. I submitted a patch but it was rejected because it breaks the tests. Unfortunately, the development workflow page does not explain how to run the tests (in fact it doesn't mention them at all). I am therefore writing