This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author iritkatriel
Recipients iritkatriel, itamarst, vstinner
Date 2020-12-15.22:52:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1608072778.21.0.68503833876.issue19206@roundup.psfhosted.org>
In-reply-to
Content
Since this issue was created, the traceback module changed considerably, and now we have the TracebackException/StackSummary classes which capture information about an exception for later rendering. The lookup_lines arg controls the timing of the file access: if it is false, this is delayed until render-time.

I believe this solves the use case of the logger - the file access can be delayed till the logger thread renders the exception. I'm not sure I understand the event loop use case, but presumably there, too, the exceptions are not being rendered (because we don't want IO during that loop).
History
Date User Action Args
2020-12-15 22:52:58iritkatrielsetrecipients: + iritkatriel, vstinner, itamarst
2020-12-15 22:52:58iritkatrielsetmessageid: <1608072778.21.0.68503833876.issue19206@roundup.psfhosted.org>
2020-12-15 22:52:58iritkatriellinkissue19206 messages
2020-12-15 22:52:58iritkatrielcreate