[issue25668] Deadlock in logging caused by a possible race condition with "format"

Vinay Sajip report at bugs.python.org
Wed Jan 13 16:16:40 EST 2016


Vinay Sajip added the comment:

Logging has been in the Python stdlib for over a dozen years, and in all that time, no one else has had a problem with the way handler locks and formatting work in logging. Your problem arises because your use case is very unusual, and this is why I don't propose to make changes to the stdlib to cater for it. You can, as I've suggested earlier, subclass the handlers you need and implement their emit methods as per your needs. Any changes to the stdlib code along the lines you've proposed could well break existing code for other people, so making these changes is not warranted.

----------
resolution:  -> not a bug
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25668>
_______________________________________


More information about the Python-bugs-list mailing list