[issue17413] format_exception() breaks on exception tuples from trace function
ingrid
report at bugs.python.org
Sun Apr 14 01:38:32 CEST 2013
ingrid added the comment:
It seems that settrace works normally when an exception is raised in the python code with the raise keyword. If an exception is raised in the C code, settrace breaks as the C code passes all exceptions as strings. To fix this issue we just added a line to normalize the C exception within settrace. We included a regression test for this defect.
I paired on this with user bmac (http://bugs.python.org/user17692).
----------
keywords: +patch
nosy: +ingrid
Added file: http://bugs.python.org/file29837/issue17413.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17413>
_______________________________________
More information about the Python-bugs-list
mailing list