>
>
> Most objects can be saved with pickle module. The module serializes
> objects to strings by storing *the names* of classes of objects and real
> data (usually, their __dict__ dictionaries.) On restoring (unpickling) the
> loader instantiates objects (it know their class names, right?) and put
> the
> data back.
> But code objects are very special objects in Python. Pickle doesn't save
> it, and you too - you better not meddle with them.
>
> Thanks, I think I will go the "getattr" way.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss