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.py167 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__.py775 _handlerList = [] # added to allow handlers to be removed in reverse of order initialized variable
785 acquire, release, handlers = _acquireLock, _releaseLock, _handlerList
800 _handlerList.append(weakref.ref(handler, _removeHandlerRef))
2023 def shutdown(handlerList=_handlerList):
Dconfig.py272 logging.shutdown(logging._handlerList[:])
273 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.py86 self.saved_handler_list = logging._handlerList[:]
137 logging._handlerList[:] = self.saved_handler_list
3906 self.saved_handler_list = logging._handlerList[:]
3921 logging._handlerList[:] = self.saved_handler_list
4107 old_handler_list = logging._handlerList[:]
4116 logging._handlerList[:] = old_handler_list