Message197267
Here's a patch implementing traceback.clear_tb_frames(). (Feel free to bikeshed about the name.)
One more substantial question: the top frame of the traceback is possibly still running. Currently the code skips it by doing an initial 'tb = tb.tb_next'. Would it be better to catch and ignore the RuntimeError
from frame.clear()? |
|
Date |
User |
Action |
Args |
2013-09-08 15:20:08 | akuchling | set | recipients:
+ akuchling, tim.peters, loewis, terry.reedy, pitrou, vstinner, ghazel, r.david.murray, pconnell |
2013-09-08 15:20:08 | akuchling | set | messageid: <1378653608.83.0.793181454135.issue1565525@psf.upfronthosting.co.za> |
2013-09-08 15:20:08 | akuchling | link | issue1565525 messages |
2013-09-08 15:20:08 | akuchling | create | |
|