Message124830
> And what if the exception is raised from a subroutine?
Well, if I have it surrounded by a try/except block, presumably I'm aware that an exception could be raised. ;)
And if I'm aware that an exception could be raised, it may also be possible that I want to change the exception -- leading to the three possibilities I described earlier.
Looking through my dbf module, most of those re-raises I'll be changing to use the raise ... from ... syntax, but there are still a couple places where it makes no sense to have the extra nested information available. |
|
Date |
User |
Action |
Args |
2010-12-29 00:06:18 | ethan.furman | set | recipients:
+ ethan.furman, rhettinger, ncoghlan, pitrou, draghuram, mrabarnett, steven.daprano, poke |
2010-12-29 00:06:18 | ethan.furman | set | messageid: <1293581178.52.0.123219068672.issue6210@psf.upfronthosting.co.za> |
2010-12-29 00:06:16 | ethan.furman | link | issue6210 messages |
2010-12-29 00:06:16 | ethan.furman | create | |
|