[Zope] Python Product variable problems

Dieter Maurer dieter@handshake.de
Mon, 26 Feb 2001 23:15:44 +0100 (CET)


kosh writes:
 > I have a python product and all of the variables that define that object
 > are in a dict as part of the class. My problem is that when I add new
 > variables to that dict for new features the objects already in zope don't
 > get them. I do need the objects to be persistant but was wondering if
 > there is some method I can add which would auto update objects on view,
 > edit, etc if a newer one existed.
You may look (at the code) how ZInstances handle this same problem.


Dieter