def __setattr__(self, name, value):
        """Set an attribute on this :class:`Toolbox` instance."""
        # If the Tool._name is None, supply it from the attribute name.
        if isinstance(value, Tool):
            if value._name is None:
                value._name = name
            value.namespace = self.namespace
        object.__setattr__(self, name, value)
Set an attribute on this :class:`Toolbox` instance.
cherrypy/_cptools.py