News for hackers. Stuff that matters.
Re:Python adopts a 12-month release cycle by raymondh on Friday November 01, 2019 @11:27PM (#21425700)
There is no ambiguity. This example is invalid syntax.
Re:Python adopts a 12-month release cycle by joshuamorton on Friday November 01, 2019 @11:36PM (#21425732)
In Python yes, but the post I responded to asked why they settled on a different assignment syntax for expressions.

It was to avoid that ambiguity (or error prone pattern, if you prefer) which is present in, say, C.

Re:Python adopts a 12-month release cycle by ryl00 on Friday November 01, 2019 @11:58PM (#21425814)
C/C++ compilers (at least, all the ones I know about) squawk about it unless you add an additional set of parentheses around the assignment.