How to pickle a lambda function?

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

Re: Python docs disappointing - group effort to hire writers?

2009-08-10 Thread Steven D'Aprano
On Mon, 10 Aug 2009 20:05:00 -0400, David Lyon wrote: > So, what you're advocating is let things stay how they are... If it's not broken, don't fix it. > Ignore feedback... tell people to freak off... Only useless feedback. -- Steven -- http://mail.python.org/mailman/listinfo/python-list

Re: variable & scoping question.

2009-08-10 Thread Steven D'Aprano
On Mon, 10 Aug 2009 08:46:17 -0700, Cornelius Keller wrote: > On 10 Aug., 17:12, "Diez B. Roggisch" wrote: >> Cornelius Keller wrote: > [snip] >> >> http://effbot.org/zone/default-values.htm >> >> Diez > > Ok thank you. > I' understand now why. > I still think this is very confusing, because def

<    1   2