Message260571
So Terry's right that in my haste to write down the idea I contradicted myself. I do want to tweak the APIs in the traceback module to accept only an exception. The question is whether we need entirely new functions or if the pre-existing ones can be updated to work with just an exception.
And if we were to tweak the existing functions instead of add new ones, I would do it by making all arguments optional and adding a new keyword-only argument called `exc` that took the exception. Either `exc` would be set or the old arguments would need to all be set, and it would be an error to set both sets of arguments. And when the old arguments were taken away then all arguments for those functions would become keyword-only. |
|
Date |
User |
Action |
Args |
2016-02-20 19:48:08 | brett.cannon | set | recipients:
+ brett.cannon, terry.reedy, martin.panter |
2016-02-20 19:48:08 | brett.cannon | set | messageid: <1455997688.77.0.877336911581.issue26389@psf.upfronthosting.co.za> |
2016-02-20 19:48:08 | brett.cannon | link | issue26389 messages |
2016-02-20 19:48:08 | brett.cannon | create | |
|