Re: Deprecating numpy.fix

Stefan van der Walt via NumPy-Discussion <[email protected]>
Newsgroups gmane.comp.python.numeric.general
Message-ID <[email protected]>
On Mon, Nov 3, 2025, at 12:29, Nathan via NumPy-Discussion wrote:
> Ralf rightly pointed out (https://github.com/numpy/numpy/pull/30098#pullrequestreview-3408343827) that np.fix does have substantial downstream usage and that a deprecation needs to go through the mailing list, so I'm raising this here.

I see 9.2k files showing up in the GH search results, so in this instance I'd say it's OK to remove it from the public namespace to discourage use, but we probably shouldn't get rid of it? Perhaps just reimplement it using np.trunc and leave it in place indefinitely?

Stéfan

_______________________________________________
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]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.