Pickling Parent

stevie_deja at my-deja.com stevie_deja at my-deja.com
Tue Feb 8 13:59:40 EST 2000


Hi,
Is it possible to upcast a python class to be pickled?

I have a parent_class which contains many variables & initialization
routines.  The inheriting class is used to perform actions, then I want
to pickle it, as if it where the parent.

I need to do this, because the jpython version only has knowledge of
the parent_class (can't use inherited class since it has stuff which
jpython can't handle).  Is this possible?

Thanks,
Steve K.


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list