[Zope-dev] ZClass inheriting from Python Class

Martijn Faassen M.Faassen@vet.uu.nl
Thu, 22 Jul 1999 11:18:24 +0200


Hi everybody,

I've been toying with ZClasses. I made a simple Python class and
registered it with Zope as mentioned in the ZClass tutorial. Then I made
a ZClass that inherits from this Python class. I store some text data in
a list in the ZClass.

This works fine, except when I restart Zope; the data in the list is
gone. Apparently the mixin Python class is not automatically persistent.
Is this what should happen? What do I do about it?

Regards,

Martijn