Lambda alternative?

Paul Rubin http
Wed Apr 15 17:51:10 EDT 2009


Duncan Booth <duncan.booth at invalid.invalid> writes:
> dumped = dumps(air)
> t = loads(dumped)
> print t # works fine


Hmm, well, that doesn't really pickle the function; it pickles a class
instance that records where the class definition was and (on
unpickling) imports that module.  Maybe that is sufficient for this
purpose.



More information about the Python-list mailing list