Message151156
Yeah, I would really like that solution, especially as it separates from the `from X` syntax that sets the exception’s cause.
Also I would prefer a syntax solution over a class method simply because the exception context is something that is implicitely set by Python with the `raise` statement. So it would make sense to overwrite that behaviour with a syntax construct as well. |
|
Date |
User |
Action |
Args |
2012-01-12 22:39:55 | poke | set | recipients:
+ poke, rhettinger, ncoghlan, pitrou, draghuram, aronacher, ezio.melotti, eric.araujo, mrabarnett, steven.daprano, ethan.furman |
2012-01-12 22:39:55 | poke | set | messageid: <1326407995.38.0.860930973923.issue6210@psf.upfronthosting.co.za> |
2012-01-12 22:39:54 | poke | link | issue6210 messages |
2012-01-12 22:39:54 | poke | create | |
|