Message154392
Because you're breaking the semantics of the "raise X from Y" syntax.
That syntax is *just* syntactic sugar for "_exc = X; _exc.__cause__ = Y; raise _exc".
Under PEP 409, that remains true.
Your patch breaks it.
If you want to change the meaning for "raise X from Y", write a new PEP. |
|
Date |
User |
Action |
Args |
2012-02-26 21:18:48 | ncoghlan | set | recipients:
+ ncoghlan, pitrou, benjamin.peterson, Arfrever |
2012-02-26 21:18:48 | ncoghlan | set | messageid: <1330291128.47.0.506655003796.issue14133@psf.upfronthosting.co.za> |
2012-02-26 21:18:47 | ncoghlan | link | issue14133 messages |
2012-02-26 21:18:47 | ncoghlan | create | |
|