def __setattr__(self, name, value):
try:<EOL><INDENT>attrs = object.__getattribute__(self,"<STR_LIT>")<EOL>if type(attrs) == list:<EOL><INDENT>raise AttributeError<EOL><DEDENT>try:<EOL><INDENT>prop = object.__getattribute__(self, name)<EOL><DEDENT>except AttributeError:<EOL><INDENT>attrs[name] = value<EOL><DEDENT>else:<EOL><INDENT>raise AttributeError<EOL><DEDENT><DEDENT>except AttributeError:<EOL><INDENT>object.__setattr__(self, name, value)<EOL><DEDENT>
Object-like set attribute

        When setting an attribute, tries to set it in the attrs
        dictionary, so now MambuStruct acts not only as a dict-like
        structure, but as a full object-like too (this is the setter
        side).