Re: [Numpy-discussion] deprecate random.random_integers

2016-01-04 Thread Robert Kern
On Sun, Jan 3, 2016 at 11:51 PM, G Young  wrote:
>
> Hello all,
>
> In light of the discussion in #6910, I have gone ahead and deprecated
random_integers in my most recent PR here.  As this is an API change (sort
of), what are people's thoughts on this deprecation?

I'm reasonably in favor. random_integers() with its closed-interval
convention only exists because it existed in Numeric's RandomArray module.
The closed-interval convention was broadly been considered to be a mistake
introduced early in the stdlib random module and rectified with the
introduction and promotion of random.randrange() instead.

--
Robert Kern
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
https://mail.scipy.org/mailman/listinfo/numpy-discussion


Re: [Numpy-discussion] deprecate random.random_integers

2016-01-03 Thread G Young
Hello all,

In light of the discussion in #6910
, I have gone ahead and
deprecated random_integers in my most recent PR here
.  As this is an API change (sort
of), what are people's thoughts on this deprecation?

Thanks!

Greg
___
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
https://mail.scipy.org/mailman/listinfo/numpy-discussion