[EMAIL PROTECTED] wrote: > I've created a class that has a property which points at a private > list. When I try to use the append() function on this list property, > the fget method is fired rather than the fset method. If I directly > set my property to a literal list, the set method fires.
> # this fires a get for some reason > hierarchy.children.append( Hierarchy.Hierarchy()) that's the expected behaviour: you're *fetching* the "children" attribute in order to modify it, you're not replacing it. reading up on Python's object model might be helpful. </F> -- http://mail.python.org/mailman/listinfo/python-list