Irit Katriel <iritkatr...@yahoo.com> added the comment:

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).

----------
nosy: +iritkatriel
resolution:  -> out of date
status: open -> pending
versions:  -Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue19206>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to