Duncan Booth <duncan.bo...@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. -- http://mail.python.org/mailman/listinfo/python-list