Re:PEP 572: Python assignment expressions has been accepted
by sametmax on Tuesday July 03, 2018 @06:45AM
(#17449059)
It's a voluntary design choice since the beginning of Python to avoid the very common mistake of doing:
instead of:
Those mistakes introduce bugs that are hard to spot because they don't cause an immediate error, linters can hardly help with them and even a senior can make them while being tired.
[ Parent
| on HN ]