How to pickle a lambda function?

2009-08-11 Thread Terry
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,

Re: How to pickle a lambda function?

2009-08-11 Thread Duncan Booth
Terry terry.yin...@gmail.com wrote: 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)

Re: How to pickle a lambda function?

2009-08-11 Thread Terry
On Aug 11, 3:42 pm, Duncan Booth duncan.bo...@invalid.invalid wrote: Terry terry.yin...@gmail.com wrote: 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