-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Add support for PEP 702 (@deprecated
)
#16111
Comments
(Technically PEP 702 will not be in Python 3.12, the PEP has not been accepted. But yes, mypy should support the draft standard and its use via typing_extensions) |
If some people are interested, I wrote a small plugin to support this until it's part of mypy directly : https://github.com/Bendabir/mypypp I don't really know the internals so it's probably a bit hacky but it appears to work. |
If I'm correct, this issue is required for Python 3.13 support right? What's needed to move it forward? |
You could make a PR that incorporates this feedback: #17476 (review) |
Feature
Report where
@deprecated
symbols are used in the code.Pitch
Python 3.12 is coming soon, and it introduces PEP 702 (the
@deprecated
decorator).mypy
should support it.The text was updated successfully, but these errors were encountered: