En Tue, 12 Jun 2007 20:48:41 -0300, Josh Gilbert <[EMAIL PROTECTED]> escribió:
> Guido doesn't want multiline lambdas, that's a really good reason not to > add > them. They are, on the other hand, very useful at times. Even if he did > add > multiline lambdas it's not certain that he would allow statements in > them, > currently they're expression only. The beauty of my suggestion is that But you already have "multiline" lambdas right now in that sense, no need to add anything. I think you were talking about lambdas *with* statements inside. bin = lambda x:((x&8 and '*' or '_') + (x&4 and '*' or '_') + (x&2 and '*' or '_') + (x&1 and '*' or '_')) -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list