This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author georg.brandl
Recipients georg.brandl, vinay.sajip
Date 2010-09-25.13:58:36
SpamBayes Score 0.00963372
Marked as misclassified No
Message-id <1285423118.6.0.459283406836.issue9946@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-09-25 13:58:38georg.brandlsetrecipients: + georg.brandl, vinay.sajip
2010-09-25 13:58:38georg.brandlsetmessageid: <1285423118.6.0.459283406836.issue9946@psf.upfronthosting.co.za>
2010-09-25 13:58:37georg.brandllinkissue9946 messages
2010-09-25 13:58:36georg.brandlcreate