Message117368
From logging.Logger:
def removeHandler(self, hdlr):
"""
Remove the specified handler from this logger.
"""
if hdlr in self.handlers:
hdlr.acquire()
try:
self.handlers.remove(hdlr)
finally:
hdlr.release()
I don't see what the use is for locking the handler. The only shared resource that is accessed is self.handlers, which is not locked by the handler lock. |
|
Date |
User |
Action |
Args |
2010-09-25 13:58:38 | georg.brandl | set | recipients:
+ georg.brandl, vinay.sajip |
2010-09-25 13:58:38 | georg.brandl | set | messageid: <1285423118.6.0.459283406836.issue9946@psf.upfronthosting.co.za> |
2010-09-25 13:58:37 | georg.brandl | link | issue9946 messages |
2010-09-25 13:58:36 | georg.brandl | create | |
|