-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Add support for classmethod property from python3.9 #11619
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
Comments
It might be worth noting that there are currently active discussions on whether to deprecate the ability to stack |
To update: this behaviour has now been deprecated in 3.11 (python/cpython#92379) |
This has been deprecated in python 3.11 it is still correct syntax in python <3.11. Maybe one could simply improve the error message for this case? |
- Unsupported syntax for Python 3.11 python/mypy#11619
Would it be possible to change the error category from |
This behaviour has been deprecated in CPython, so mypy will not be adding support for it. |
As stated in https://docs.python.org/3.9/library/functions.html#classmethod this new classmethod property is completely valid so mypy shouldn't report an error.
The text was updated successfully, but these errors were encountered: