def set_name(self, name):
        _acquireLock()
        try:
            if self._name in _handlers:
                del _handlers[self._name]
            self._name = name
            if name:
                _handlers[name] = self
        finally:
            _releaseLock()
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/logging/__init__.py/Handler.set_name/original