Lines Matching refs:handlers
844 acquire, release, handlers = _acquireLock, _releaseLock, _handlerList
845 if acquire and release and handlers:
848 if wr in handlers:
849 handlers.remove(wr)
1444 self.handlers = []
1642 if not (hdlr in self.handlers):
1643 self.handlers.append(hdlr)
1653 if hdlr in self.handlers:
1654 self.handlers.remove(hdlr)
1671 if c.handlers:
1693 for hdlr in c.handlers:
2019 for h in root.handlers[:]:
2022 if len(root.handlers) == 0:
2023 handlers = kwargs.pop("handlers", None)
2024 if handlers is None:
2032 if handlers is None:
2045 handlers = [h]
2053 for h in handlers:
2087 if len(root.handlers) == 0:
2103 if len(root.handlers) == 0:
2121 if len(root.handlers) == 0:
2136 if len(root.handlers) == 0:
2146 if len(root.handlers) == 0:
2156 if len(root.handlers) == 0:
2243 if not logger.handlers: