[Zope] Changing a Z object's __class__ dynamically

Tino Wildenhain tino@wildenhain.de
Sun, 20 Aug 2000 10:50:44 +0200


hi 

...

> I don't know what exactly is going on. My conjectures are: (1) Digicool
> people have re-written Python's system function setattr(), so that when it
> is an Z Object, the __class__ cannot be changed. (2) Caching: when I change
> the class of a Z Object, somehow it does not reflected in the Z Object's
> memory-cached version.

When I remember correcly, DC's setattr does not change attributes with
leading
underscore in a persistence way. 
These attributes are considered to be local.

Regards
Tino Wildenhain