__parent__ - like attribute?
python at dylanreinhardt.com
Sun Jan 19 05:28:44 CET 2003
At 07:48 PM 1/18/2003, Andrew Bennetts wrote:
>Why don't you simply make eggs inherit from Persistent, and let it set its
>own _p_changed flag?
A fair question. What the example obscures is that spam is, itself, a
subobject of a object that uses Persistent. Or does that not matter?
A related issue is that I also want the subobjects to obtain/acquire
settings from their containing object. Seems the same trick to do one
should do the other, but _p_changed won't do double duty here.
More information about the Python-list