[Python-Dev] Is PEP 572 really the most effective way to solve the problems it's targeting?

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Apr 26 20:00:50 EDT 2018


Mike Miller wrote:
>     - How are other modern languages solving this issue?

In all the languages I can think of that allow assignments in
expressions, there is only one assignment operator -- a stand
alone assignment is just a bare assignment expression.

But those languages were all designed that way from the start.
I'm not aware of any that began by forbidding assignment in
expressions and then added it later.

-- 
Greg



More information about the Python-Dev mailing list