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 way static type-checkers will report a warning, without it affecting the
runtime behavior.
_______________________________________________
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]