Message154392
| Author |
ncoghlan |
| Recipients |
Arfrever, benjamin.peterson, ncoghlan, pitrou |
| Date |
2012年02月26日.21:18:47 |
| SpamBayes Score |
0.00076100376 |
| Marked as misclassified |
No |
| Message-id |
<1330291128.47.0.506655003796.issue14133@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|