[issue1553375] Add traceback.print_full_exception()

Pascal Chambon report at bugs.python.org
Sat Oct 9 13:05:47 CEST 2010


Pascal Chambon <chambon.pascal at gmail.com> added the comment:

Indeed I don't understand the following part :

+                Traceback (most recent call last):
+                  File "testmod.py", line 16, in <module>
+                    {exception_action}
+                  File "testmod.py", line 6, in foo
+                    bar()
+                  File "testmod.py", line 11, in bar
+                    raise Exception
+                Exception

Why does the f_back of the first exception, when chain=True, leads back to the {exception_action} part, in the except: black, instead of the initial foo() call inside the try: block ?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1553375>
_______________________________________


More information about the Python-bugs-list mailing list