You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When specifying a python version mypy doesn't yet fully support, emit a warning about the situation.
Pitch
Mypy 0.790 allows the specification of python 3.9 version without complaint. When using it mypy will complain about list[str] syntax because full 3.9 support is not implemented yet. Emitting a warning will make it clear to the end-user that the software is working as intended and there is no problem in their environment, mypy just doesn't fully support the requested version yet.
The text was updated successfully, but these errors were encountered:
I can only tell my perspective as a user that I would've wanted some info from the tool when I request 3.9 and the tool cannot really comply accurately yet. I spent some time scouring google and docs trying to figure out if mypy supports this feature yet or if there was some problem in my configuration or environment. First hit on google was this thread #7907 which looked like it did. Finally I found this #9761 which gave me the answer that it doesn't.
As to the potential implementation of this I'm not nearly familiar enough with the tool and its user groups that I could answer the ramifications of a specific implementation. It might be problematic if the warning was always emitted and it couldn't be silenced because I can imagine there being a lot of users who would quite quickly migrate into a new python version without using any features in that new version that would cause problems with mypy.
Feature
When specifying a python version mypy doesn't yet fully support, emit a warning about the situation.
Pitch
Mypy 0.790 allows the specification of python 3.9 version without complaint. When using it mypy will complain about list[str] syntax because full 3.9 support is not implemented yet. Emitting a warning will make it clear to the end-user that the software is working as intended and there is no problem in their environment, mypy just doesn't fully support the requested version yet.
The text was updated successfully, but these errors were encountered: