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
Python 3.8 (currently in beta) supports a new expression operator, :=, dubbed the "walrus operator" (PEP 572). Mypy should support this. Parsing is not a problem -- when we use Python 3.8 to run mypy, we use the stdlib ast module which knows how to parse it. But mypy always treats this as a blocking error, saying "assignment expressions are not yet supported".
It would be nice if we supported this.
The text was updated successfully, but these errors were encountered:
This is already covered in #7316. Closing this issue as there is general support for assignment expressions; I opened a series of more specific issues for smaller remaining problems.
Python 3.8 (currently in beta) supports a new expression operator,
:=
, dubbed the "walrus operator" (PEP 572). Mypy should support this. Parsing is not a problem -- when we use Python 3.8 to run mypy, we use the stdlib ast module which knows how to parse it. But mypy always treats this as a blocking error, saying "assignment expressions are not yet supported".It would be nice if we supported this.
The text was updated successfully, but these errors were encountered: