Message294430
Certainly which frame is being executed is an implementation detail, and I can see an argument from that that we shouldn't have a frame introspection API at all... but we do have one, and it has some pretty important use cases, like traceback printing. Obviously most people shouldn't be touching this API at all, but if you do need it then it IMO should be as useful as possible.
I don't see a better way to handle my (admittedly a bit weird) control-C case within the interpreter; I'd be interested to hear what you have in mind. But even if there is a nice way to fix control-C, then the proposal here would still be useful for e.g. giving better tracebacks. |
|
Date |
User |
Action |
Args |
2017-05-25 04:34:12 | njs | set | recipients:
+ njs, jcea, ncoghlan, benjamin.peterson, Arfrever, cvrebert, meador.inge, daniel.urban, Mark.Shannon, eric.snow, yselivanov, Jim Fasarakis-Hilliard |
2017-05-25 04:34:12 | njs | set | messageid: <1495686852.91.0.438699920411.issue12857@psf.upfronthosting.co.za> |
2017-05-25 04:34:12 | njs | link | issue12857 messages |
2017-05-25 04:34:12 | njs | create | |
|