From a Python point of view, it seems perfectly natural for a class (or ZClass) to have properties like _no_unload and _no_versions, which instances would inherit, but which they could override in the usual way.
----- Original Message ----- From: Michael Bernstein <mbernstein@profitscape.net>
Jim Fulton wrote:
There is a way from C for objects that don't change. Maybe there should be a hook to allow this from Python. Or a hook saying that you don't want an object to be deactivated. Would you want the hook to apply to individual instances, or to classes?
<blue_sky> Hmm, perhaps persistence/caching options should be settable at all points within the object hierarchy, and acquirable. This means that persistence/caching options should be settable on a ZClass, but overridable on a particular instance. </blue_sky>