[Python-ideas] One more time... lambda function <--- from *** signature def.
Greg Ewing
greg.ewing at canterbury.ac.nz
Sat Mar 1 00:34:05 CET 2014
Chris Angelico wrote:
> With this proposal, your
> star_lambda function's declaration changes the call site - instead of
> evaluating a*b+c, it has to construct an anonymous function and pass
> it along.
And when you consider that this could happen with any
argument to any function, depending on what the function
turns out to be like at run time, it means that *all*
function arguments would need to be passes as anonymous
functions. That would be very awkward an inefficient.
--
Greg
More information about the Python-ideas
mailing list