On Aug 16, 2016 12:57 AM, "Lawrence D’Oliveiro" <lawrenced...@gmail.com> wrote:
I see. I thought I saw a mention somewhere else that Python lambdas were designed to be less functional than full def-style functions. But perhaps this limitation wasn’t intentional, just an inherent consequence of the fact that Python’s significant-whitespace rules only apply to statements, not expressions... I think the primary reason for that is just that nobody has yet come up with a good syntax proposal for anonymous functions to contain statement lists. -- https://mail.python.org/mailman/listinfo/python-list