Message234765
Thanks for the review - shall action it all as it seems all good improvements.
Two key notes: the use of an exception triple is useful to ease backports of this: a primary goal for me is being able to use the locals stuff in unittest for existing production code bases like OpenStack: there's a balance to be struck between new shiny features like __traceback__ and backporting. I'll consider the idea of value-or-triple; if all the consuming code is going to be using the triple interface I'm not sure the value one would, drumroll please, have value.
The locals stuff is as you note not complete or exposed yet. I wanted it in the design to be able to vet that it will actually be feasible without a later API break. I'm not -quite- there but I do also agree that it doesn't need to be in the output layer yet (in fact there's a different ticket for that anyway). |
|
Date |
User |
Action |
Args |
2015-01-26 18:36:18 | rbcollins | set | recipients:
+ rbcollins, gvanrossum, rhettinger, ncoghlan, pitrou, vstinner, eric.snow, yselivanov, adaptivelogic, martius |
2015-01-26 18:36:18 | rbcollins | set | messageid: <1422297378.59.0.744555673815.issue17911@psf.upfronthosting.co.za> |
2015-01-26 18:36:18 | rbcollins | link | issue17911 messages |
2015-01-26 18:36:18 | rbcollins | create | |
|