[Python-Dev] PEP 572, VF/B, and "Shark Jumping"

Mike Miller python-dev at mgmiller.net
Thu Jul 5 12:50:32 EDT 2018

On 2018-07-04 23:20, Steven D'Aprano wrote:
> It simply isn't true that modern languages are moving away from
> assignment expressions. Some are. Some aren't. Even those that don't
> support assignment expressions in general usually support special syntax
> to allow it in a few contexts.

The older post you are referring and this thread describe the exact situation in 
your last sentence.  The limited assignment "compromise" is a common solution 
nowadays, just as this thread discusses.

Repeating "it won't work" when it has been shown to work well in several 
languages is nonsensical.  Yes, the available solutions are not perfect, but I 
still maintain "as" is less disruptive and doesn't reverse 25 year-old design 
choices, but rather works with them.


More information about the Python-Dev mailing list