On Mon, Mar 6, 2023 at 8:12 AM Sebastian Berg <[email protected]>
wrote:

> On Thu, 2023-03-02 at 15:20 +0000, Ralf Gommers wrote:
> > Hi all,
> >
> > In https://github.com/numpy/numpy/pull/23314 I am deprecating four
> > functions: `product`, `cumproduct`, `alltrue`, `sometrue`. These are
> > all
> > aliases (for `prod`, `cumprod`, `all` and `any`), were already not
> > part of
> > the API docs, and there was an open issue for deprecating them (
> > https://github.com/numpy/numpy/issues/14584).
> >
> > The only one that may be slightly disruptive is `np.product`, there
> > were a
> > number of usages I found in other projects. Typically >10x less than
> > `np.prod` and already cleaned up in SciPy, scikit-learn and pandas,
> > but
> > still a non-negligible amount. Hence pointing this one out in
> > particular.
>
>
>
> If there is larger chance of end-user churn/annoyance, we could still
> decide to take a it a bit slower by e.g. escalating to
> `VisibleDeprecationWarning` before full removal.
>

Good point. Perhaps worth doing all in one go before the 1.25.0 release?
Either all VisibleDeprecationWarning's, or for the functionality that we
think may be used more often than the average deprecated function.

Cheers,
Ralf



>
> - Sebastian
>
>
> >
> > Cheers,
> > Ralf
> > _______________________________________________
> > NumPy-Discussion mailing list -- [email protected]
> > To unsubscribe send an email to [email protected]
> > https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
> > Member address: [email protected]
>
>
> _______________________________________________
> NumPy-Discussion mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
> Member address: [email protected]
>
_______________________________________________
NumPy-Discussion mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: [email protected]

Reply via email to