Searched refs:_handlerList (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', 204 # _handlerList is a list of weakrefs to handlers 205 return id(logging._handlerList), logging._handlerList, logging._handlerList[:]
|
/third_party/python/Lib/logging/ |
H A D | config.py | 285 logging.shutdown(logging._handlerList[:]) 286 del logging._handlerList[:]
|
H A D | __init__.py | 843 _handlerList = [] # added to allow handlers to be removed in reverse of order initialized variable 853 acquire, release, handlers = _acquireLock, _releaseLock, _handlerList 869 _handlerList.append(weakref.ref(handler, _removeHandlerRef)) 892 # Add the handler to the global _handlerList (for cleanup on shutdown) 2177 def shutdown(handlerList=_handlerList):
|
/third_party/python/Lib/test/ |
H A D | test_logging.py | 96 self.saved_handler_list = logging._handlerList[:] 147 logging._handlerList[:] = self.saved_handler_list 4662 self.saved_handler_list = logging._handlerList[:] 4677 logging._handlerList[:] = self.saved_handler_list 4977 old_handler_list = logging._handlerList[:] 4986 logging._handlerList[:] = old_handler_list
|
Completed in 12 milliseconds