Thanks for this. I hadn't really considered that I would have to
explicitly store parent/child relationships.
Having been browsing for something else, I came across this page about
Unifying types and classes:
http://www.python.org/2.2.3/descrintro.html
>From it, it looks like I could do somethin
if you want to copy object just use:
import copy
newobj = copy.deepcopy(objparent)
or just create object which has direct correlation with the parent like:
newobj = objparent
Cheers,
pujo
On 11/14/05, Alan Gauld <[EMAIL PROTECTED]> wrote:
> I want to create a property that will inherit it's val
> I want to create a property that will inherit it's value from the same
> property in it's parent object, but will check it's parent's propety
> everytime it is called. But that can be over-ridden, and I don't have
> to know what the objects parent is.
Ed you are using a lot of OOP terminology h