Mixing custom __setattr__ method and properties in new style classes

2006-02-08 Thread L.C. Rees
Can custom __setattr__ methods and properties be mixed in new style classes? I experimented with a new style class with both a custom __setattr__ method and a property. Attributes controlled by the __setattr__ method work fine. When I attempt to set or get the property it raises the error: "TypeEr

Re: Mixing custom __setattr__ method and properties in new style classes

2006-02-08 Thread L.C. Rees
I see the error: the get and set properties are inverted. Now it works. -- http://mail.python.org/mailman/listinfo/python-list