Home
last modified time | relevance | path

Searched refs:_handlerList (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython3/Lib/test/libregrtest/
Dsave_env.py188 return id(logging._handlerList), logging._handlerList, logging._handlerList[:]
/external/python/cpython2/Lib/logging/
D__init__.py627 _handlerList = [] # added to allow handlers to be removed in reverse of order initialized variable
637 acquire, release, handlers = _acquireLock, _releaseLock, _handlerList
659 _handlerList.append(weakref.ref(handler, _removeHandlerRef))
1660 def shutdown(handlerList=_handlerList):
Dconfig.py83 del logging._handlerList[:]
541 del logging._handlerList[:]
/external/python/cpython3/Lib/logging/
D__init__.py815 _handlerList = [] # added to allow handlers to be removed in reverse of order initialized variable
825 acquire, release, handlers = _acquireLock, _releaseLock, _handlerList
840 _handlerList.append(weakref.ref(handler, _removeHandlerRef))
2114 def shutdown(handlerList=_handlerList):
Dconfig.py274 logging.shutdown(logging._handlerList[:])
275 del logging._handlerList[:]
/external/python/cpython2/Lib/test/
Dtest_logging.py66 self.saved_handler_list = logging._handlerList[:]
104 logging._handlerList[:] = self.saved_handler_list
/external/python/cpython3/Lib/test/
Dtest_logging.py88 self.saved_handler_list = logging._handlerList[:]
139 logging._handlerList[:] = self.saved_handler_list
4379 self.saved_handler_list = logging._handlerList[:]
4394 logging._handlerList[:] = self.saved_handler_list
4694 old_handler_list = logging._handlerList[:]
4703 logging._handlerList[:] = old_handler_list