Lambda alternative?

Paul Rubin http
Wed Apr 15 16:45:44 CEST 2009

mousemeat at writes:
> 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).

Maybe you could use marshal instead of pickle.  Make sure to read the
documentation carefully--there are some pitfalls that can bite you.

More information about the Python-list mailing list