Skip to content

DOC: Document how numpy deprecations are treated with static typing #20836

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
BvB93 opened this issue Jan 17, 2022 · 0 comments
Open

DOC: Document how numpy deprecations are treated with static typing #20836

BvB93 opened this issue Jan 17, 2022 · 0 comments

Comments

@BvB93
Copy link
Member

BvB93 commented Jan 17, 2022

Currently all deprecations are treated as if they're completed in the typing stub files, causing type checkers to produce warnings when using deprecated functions/arguments similar to how DeprecationWarnings are issued during runtime. This behavior is not documented anywhere though and could use a paragraph or two in the typing docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants