Message288660
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. :) |
|
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 | |
|