def set_value(self, value):
self.check_bounds(value)<EOL>self.check_type(value)<EOL>self.__value__ = value<EOL>
Set the value

        This invokes hooks for type-checking and bounds-checking that
        may be implemented by sub-classes.