[New-bugs-announce] [issue39198] Lock may not be released in Logger.isEnabledFor

Derek Brown report at bugs.python.org
Thu Jan 2 15:10:20 EST 2020


New submission from Derek Brown <derekbrown at fb.com>:

If an exception were to be thrown in a particular block of code (say, by asyncio timeouts or stopit) within the `isEnabledFor` function of `logging`, the `logging` global lock may not be released appropriately, resulting in deadlock.

----------
components: Library (Lib)
messages: 359219
nosy: derektbrown
priority: normal
severity: normal
status: open
title: Lock may not be released in Logger.isEnabledFor
type: crash
versions: Python 3.6, Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39198>
_______________________________________


More information about the New-bugs-announce mailing list