replacing the class of an instance

Bill Janssen janssen at parc.xerox.com
Fri Sep 24 15:33:05 EDT 1999


I'd like to be able to replace the class of previously created
instances when I create a new version of the class.  Is it sufficient
to keep track of all the instances, then go through and change the
__class__ member of each instance when I change the class definition?

Or is there an even easier way?

Bill




More information about the Python-list mailing list