Closed
Description
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.