Multi-line lambdas can be sort of obtained in Python by defining a progn function:
https://news.ycombinator.com/item?id=19933223