'Sets value of the bound attribute'

def set(self, value):

    try:
        if self.dict_mode:
            self.object[self.attribute] = value
        else:
            setattr(self.object, self.attribute, value)
    except Exception:
        raise Exception(('Binder    set    failed:    %s.%s    =    %s' % (self.object, self.attribute, repr(value))))
