News for hackers. Stuff that matters.
Re:PEP 572: Python assignment expressions has been accepted by yorwba on Tuesday July 03, 2018 @07:47AM (#17449346)
That only works at top-level scope, where locals() == globals(). Inside a function, changing the dict returned by locals() doesn't actually change the variable.

There are no comments on this comment yet.