On Wed, 15 Apr 2009 15:47:05 +0200, <mousem...@gmail.com> wrote:

But, lambda functions can't be pickled. I would like to pickle my
objects, and i would really like to use parallel python (which
requires pickling).

If you are fixated on using lambda, you could probably use Recipe 7.6: Pickling Code Objects in the Python Cookbook, 2nd Edition, or here:

http://www.ubookcase.com/book/Oreilly/Python.Cookbook.2nd.edition/0596007973/pythoncook2-chp-7-sect-6.html

However, it is better to use named functions as all the other posters have already mentioned.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to