Searched refs:_handlers (Results 1 - 4 of 4) sorted by relevance
/third_party/python/Lib/test/libregrtest/ |
H A D | save_env.py | 56 'logging._handlers', 'logging._handlerList', 'sys.gettrace', 196 # _handlers is a WeakValueDictionary 197 return id(logging._handlers), logging._handlers, logging._handlers.copy()
|
/third_party/python/Lib/logging/ |
H A D | config.py | 89 # Handlers add themselves to logging._handlers 284 logging._handlers.clear() 516 if name not in logging._handlers: 521 handler = logging._handlers[name]
|
H A D | __init__.py | 222 #shared dictionary _handlers, it needs to acquire the lock. But if configuring, 842 _handlers = weakref.WeakValueDictionary() #map of handler names to handlers variable 902 if self._name in _handlers: 903 del _handlers[self._name] 906 _handlers[name] = self 1003 _handlers, which is used for handler lookup by name. Subclasses 1011 if self._name and self._name in _handlers: 1012 del _handlers[self._name]
|
/third_party/python/Lib/test/ |
H A D | test_logging.py | 95 self.saved_handlers = logging._handlers.copy() 145 logging._handlers.clear() 146 logging._handlers.update(self.saved_handlers) 699 self.assertEqual(len(logging._handlers), 0) 703 self.assertGreater(len(logging._handlers), 0) 3253 h = logging._handlers['hand1'] 4661 self.saved_handlers = logging._handlers.copy() 4675 logging._handlers.clear() 4676 logging._handlers.update(self.saved_handlers)
|
Completed in 12 milliseconds