New submission from Mihail Krivushin: Logging checking `if exc_info:` and this maybe incorrect, due exception instance can have __bool__ method and thus can be false. If this is a case, then error that is return false from __bool__ will cause logging to swallow traceback. We need to check exc_info correctly. Will do PR myself.
---------- components: Library (Lib) messages: 296892 nosy: krivushinme priority: normal severity: normal status: open title: logging must check exc_info correctly _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30767> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com