>
> Properties work with persistent objects with one limitation that I'm aware of.
> The __setattribute__ method used by the persistent base class assumes
> that any attribute assignment modifies the object's persistent state.
> A property
> that doesn't modify state or that modifies volatile state will fool
> it. Conceivably,
> one could override __setattribute__ to handle such properties, but doing so
> would require great care. I don't recommend it.

Great, thanks! I already assumed so, but now this little feature is
officially confirmed.

-Mikko
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to