Skip to content

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

Closed as not planned

Description

@BvB93

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions