Re: Deprecating numpy.fix

Nathan via NumPy-Discussion <[email protected]>
Newsgroups gmane.comp.python.numeric.general
Message-ID <CAJXewOkaBm6+Tp9rLJmvVOOLvjAxCaf7NsXTxV4GWxYE7s6H7g@mail.gmail.com>
I agree. We haven’t heard any objections to this proposal. Joren, why don’t
you open a PR to add the pending deprecation to the type stubs?

On Mon, Nov 3, 2025 at 11:46 PM matti picus via NumPy-Discussion <
[email protected]> wrote:

>
>
> On Tue, Nov 4, 2025 at 12:40 AM Joren Hammudoglu via NumPy-Discussion <
> [email protected]> wrote:
>
>> How about we decorate np.fix in the stubs (and only in the stubs) with
>>
>> @deprecated("will be deprecated in 2.5",
>> category=PendingDeprecationWarning)
>> def fix(...): ...
>>
>> and put that in 2.4.0? [docs](
>> https://typing-extensions.rtfd.io/#typing_extensions.deprecated
>
>
> That sounds like a good idea.
> Matti
> _______________________________________________
> 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]
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.