How to pickle a lambda function?

Terry terry.yinzhe at gmail.com
Tue Aug 11 01:59:13 EDT 2009


Hi,

I'm trying to implement something like:

remote_map(fun, list)

to execute the function on a remove machine. But the problem is I
cannot pickle a lambda function and send it to the remote machine.

Is there any possible way to pickle (or other method) any functions
including lambda?

br, Terry



More information about the Python-list mailing list