Message151155
Okay, I like Matthew Barnett's idea of
except SomeError [as e]:
raise as SomeOtherError('...')
This would require a change to the grammer as well, yes? From:
raise_stmt: 'raise' [test ['from' test]]
to
raise_stmt: 'raise' [test ['from' test]] | 'raise' 'as' [test ['from' test]] |
|
Date |
User |
Action |
Args |
2012-01-12 22:18:22 | ethan.furman | set | recipients:
+ ethan.furman, rhettinger, ncoghlan, pitrou, draghuram, aronacher, ezio.melotti, eric.araujo, mrabarnett, steven.daprano, poke |
2012-01-12 22:18:22 | ethan.furman | set | messageid: <1326406702.21.0.349004764605.issue6210@psf.upfronthosting.co.za> |
2012-01-12 22:18:21 | ethan.furman | link | issue6210 messages |
2012-01-12 22:18:21 | ethan.furman | create | |
|