Re:PEP 572: Python assignment expressions has been accepted
by pseudalopex on Tuesday July 03, 2018 @09:46AM
(#17450115)
When did Python have multi-line lambdas?
Are you maybe conflating blocks with chained iterator operations? Adding blocks to Python's current functional syntax would be pretty ugly. "foo.filter(bar).map(baz)" is nice even if you can only use named functions.
The problem is that if you add blocks, then half of the added syntactic features the last decade is redundant as a block version would simply solve the problem a better. Which would create a lot of dead design, and that makes it a bad solution.