Antoine Pitrou added the comment:
I recently re-wrote something like this, so I think this is useful.
I wonder if it wouldn't be nice to add a caret or some similar marker
indicating the frame where the exception was caught, e.g.:
Traceback (most recent call last, catch point highlighted):
File "testmod.py", line 13, in <module>
upper()
> File "testmod.py", line 11, in upper
foo()
File "testmod.py", line 6, in foo
raise Exception
Exception
----------
nosy: +pitrou
versions: +Python 3.4 -Python 3.3
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue1553375>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com