Searched refs:_handlers (Results 1 – 4 of 4) sorted by relevance
197 return id(logging._handlers), logging._handlers, logging._handlers.copy()
833 _handlers = weakref.WeakValueDictionary() #map of handler names to handlers variable892 if self._name in _handlers:893 del _handlers[self._name]896 _handlers[name] = self1001 if self._name and self._name in _handlers:1002 del _handlers[self._name]
274 logging._handlers.clear()508 if name not in logging._handlers:513 handler = logging._handlers[name]
94 self.saved_handlers = logging._handlers.copy()144 logging._handlers.clear()145 logging._handlers.update(self.saved_handlers)693 self.assertEqual(len(logging._handlers), 0)697 self.assertGreater(len(logging._handlers), 0)3192 h = logging._handlers['hand1']4509 self.saved_handlers = logging._handlers.copy()4523 logging._handlers.clear()4524 logging._handlers.update(self.saved_handlers)