def __setattr__(self, name, value):
        """
        Set an attribute on my original, unless my original has not yet been set,
        in which case set it on me.
        """
        try:
            orig = object.__getattribute__(self, 'orig')
        except AttributeError:
            object.__setattr__(self, name, value)
        else:
            object.__setattr__(orig, name, value)
def __setattr__ ( self , name , value ) : try : orig = object . __getattribute__ ( self , 'orig' ) except AttributeError : object . __setattr__ ( self , name , value ) else : object . __setattr__ ( orig , name , value )
Set an attribute on my original, unless my original has not yet been set,
        in which case set it on me.