[New-bugs-announce] [issue9946] lock use in logging

Georg Brandl report at bugs.python.org
Sat Sep 25 15:58:38 CEST 2010

New submission from Georg Brandl <georg at python.org>:

>From logging.Logger:

    def removeHandler(self, hdlr):
        Remove the specified handler from this logger.
        if hdlr in self.handlers:

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.

assignee: vinay.sajip
components: Library (Lib)
keywords: easy
messages: 117368
nosy: georg.brandl, vinay.sajip
priority: normal
severity: normal
status: open
title: lock use in logging
type: behavior

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list