Let's Talk About Lambda Functions!

Alex Martelli aleax at aleax.it
Sat Jul 27 04:05:17 EDT 2002


Michael Gilfix wrote:

>   If it were the case that 'arbitrary code' could be truly
> 'lambdafied', wouldn't it be safe to say that arbitrary code could
> then be pickled as well? 

I don't see any connection between the two issues.  lambda form vs
a def statement is strictly a syntax issue.  You cannot pickle a
lambda any more than you can pickle a function built by def.


Alex




More information about the Python-list mailing list