Vinay Sajip added the comment: This is marked as relevant to Python 3.7, so I ran a test script using the latest Python sources:
import logging import logging.config import sys def main(): config = { 'version': 1, 'formatters': { 'default': { '()': 'foo', }, } } logging.config.dictConfig(config) if __name__ == '__main__': sys.exit(main()) The exception printouts with/without "raise ... from" are shown in this Gist: https://gist.github.com/vsajip/a17b51695bbe16bd3c9e156405388e57 I can't see much difference in terms of figuring out where the exception came from. The only substantial difference is one line "During handling of the above exception, another exception occurred:" with another "The above exception was the direct cause of the following exception:". ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28335> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com