This is an upstream wontfix
from CPython, as discussed on IPython.
The workaround is to wrap the assignment in a parenthesis, e.g.
(x := 1)
This is an upstream wontfix
from CPython, as discussed on IPython.
The workaround is to wrap the assignment in a parenthesis, e.g.
(x := 1)