Message288660
| Author |
brett.cannon |
| Recipients |
brett.cannon, martin.panter, mbussonn, terry.reedy |
| Date |
2017年02月27日.18:17:15 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1488219436.19.0.227862336061.issue26389@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I don't think supporting both approaches is worth it; we should just choose one of them. As for which one, I'm torn. The single argument one is the most pragmatic, but changing types like has always bugged me. But as Martin points out, the `raise` syntax supports the class or an instance so there's precedent in regards to exceptions themselves. The parameter name is poorly named if we take it in for the first argument which is unfortunate.
Basically I can't decide. :) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2017年02月27日 18:17:16 | brett.cannon | set | recipients:
+ brett.cannon, terry.reedy, martin.panter, mbussonn |
| 2017年02月27日 18:17:16 | brett.cannon | set | messageid: <1488219436.19.0.227862336061.issue26389@psf.upfronthosting.co.za> |
| 2017年02月27日 18:17:16 | brett.cannon | link | issue26389 messages |
| 2017年02月27日 18:17:15 | brett.cannon | create |
|