[issue39198] Lock may not be released in Logger.isEnabledFor

2020-01-02 Thread Derek Brown
Derek Brown added the comment: PR is here: https://github.com/python/cpython/pull/17689 -- ___ Python tracker <https://bugs.python.org/issue39198> ___ ___ Pytho

[issue39198] Lock may not be released in Logger.isEnabledFor

2020-01-02 Thread Derek Brown
New submission from Derek Brown : 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

[issue39198] Lock may not be released in Logger.isEnabledFor

2020-01-02 Thread Derek Brown
Change by Derek Brown : -- keywords: +patch pull_requests: +17236 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17689 ___ Python tracker <https://bugs.python.org/issu