Message124822
> During handling of the above exception, another exception occurred:
>
> This is a blatant falsehood -- another exception did not occur, a
> different exception was raised.
This doesn't make any difference in any other context, so why would it
here? If only the above sentence is problematic, you can perhaps suggest
another one.
> Now, when another exception does actually occur, I'm all for the
> nested traceback, but if I'm raising a different one, why is this
> useful:
To me that's the same as asking why the full call stack is useful. In
some cases it is useful, in other cases it is distracting. Python
displays comprehensive information by default. As I said, this can be
tweaked using the traceback module.
By the way, this is all described in detail in a PEP:
http://www.python.org/dev/peps/pep-3134/ |
|
Date |
User |
Action |
Args |
2010-12-28 21:58:19 | pitrou | set | recipients:
+ pitrou, rhettinger, ncoghlan, draghuram, mrabarnett, steven.daprano, poke, ethan.furman |
2010-12-28 21:58:14 | pitrou | link | issue6210 messages |
2010-12-28 21:58:14 | pitrou | create | |
|