Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

Would not be more useful to add a method to the Thread or frame object to 
obtain the topmost handled exception? Then you could iterate all threads or 
frames and obtain exceptions together with other useful information.

Note also that it omits exceptions in generators and coroutines.

----------
nosy: +serhiy.storchaka

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

Reply via email to