lambdak: multi-line lambda implementation in native Python

Skip Montanaro skip.montanaro at gmail.com
Sat Jan 17 07:19:36 EST 2015


On Sat, Jan 17, 2015 at 5:59 AM, Jussi Piitulainen
<jpiitula at ling.helsinki.fi> wrote:
> How far do you want to go? Is "a  b + c" the same as "a(b) + c" or the
> same as "a(b + c)"?

I think there is only one practical interpretation, the one that all
shells I'm familiar with have adopted:

    a(b, +, c)

> And I don't really want to know which it is. I prefer parentheses.
> They are not nearly as fragile.

Agreed. Without parens, splitting the command line arguments on white
space is the only non-fragile way to do things.

Skip



More information about the Python-list mailing list