[SciPy-Dev] how to turn internal names into API and freeze them forever

Evgeni Burovski evgeny.burovskiy@gmail....
Sun Sep 22 07:17:01 CDT 2013


Josef,

Add your comment on good-bad-tot and wikipedia entry to the docstring maybe?

Meanwhile, the named args have only been added in 0.13, which is still in
beta. It might be not too late to change the names.

Zh



On Sun, Sep 22, 2013 at 12:32 PM, <josef.pktd@gmail.com> wrote:

> The scipy.stats.distributions allow now keyword access to the shape
> parameters.
>
> Before, the names of shape parameters where just part of the
> signature, but couldn't be used in code, only positional argument
> where possible.
>
> Now, users can actually use them in their code.
>
> hypergeom uses `M,n,N` where I usually need to read the description
> for several minutes to remember what they are.
>
> most distributions use one letter parameters:
>
> Since I just checked
> numpy.random.triangular uses `mode`
> scipy.triang just uses `c`
>
> Josef
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-dev/attachments/20130922/f58a498d/attachment.html 


More information about the SciPy-Dev mailing list