[Numpy-discussion] Re: deprecation of product, cumproduct, alltrue, sometrue functions

2023-03-06 Thread Sebastian Berg
On Thu, 2023-03-02 at 15:20 +, 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.

- Sebastian


> 
> Cheers,
> Ralf
> ___
> NumPy-Discussion mailing list -- numpy-discussion@python.org
> To unsubscribe send an email to numpy-discussion-le...@python.org
> https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
> Member address: sebast...@sipsolutions.net


___
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com


[Numpy-discussion] next NumPy Newcomers' Hour - 8 pm UTC

2023-03-06 Thread Inessa Pawson
Our next Newcomers' Hour will be held this Thursday, March 9th at 8 pm
UTC. Stop
by to ask questions, share your progress, celebrate success, or just to say
hi.

To add to the meeting agenda the topics you’d like to discuss, follow the
link: https://hackmd.io/3f3otyyuTte3FU9y3QzsLg?both.

Join the meeting via Zoom:
https://us06web.zoom.us/j/82563808729?pwd=ZFU3Z2dMcXBGb05YemRsaGE1OW5nQT09.

--
Cheers,
Inessa

Inessa Pawson
Contributor Experience Lead | NumPy
https://numpy.org/
GitHub: inessapawson
___
NumPy-Discussion mailing list -- numpy-discussion@python.org
To unsubscribe send an email to numpy-discussion-le...@python.org
https://mail.python.org/mailman3/lists/numpy-discussion.python.org/
Member address: arch...@mail-archive.com