Message108677
Those two references have nothing to do with your request. They are talking about cycles that get created by grabbing the traceback variable, and the fact that it may take a while before garbage collection reclaims them *after you have let go of the traceback reference*. You are talking about wanting to release the locals in the stack frame and still hold on to the traceback. Completely different issue.
Note that while the standard traceback print doesn't reference the locals in the frame, extended tracebacks such as cgitb do. There is also a proposal to add such locals printing to the standard traceback.
I'm pretty sure this issue isn't going to go anywhere without a patch proposal, but before you work on that you might want to raise the idea on python-ideas and see if a wider audience thinks it is a good idea. |
|
Date |
User |
Action |
Args |
2010-06-26 01:51:50 | r.david.murray | set | recipients:
+ r.david.murray, tim.peters, loewis, akuchling, terry.reedy, vstinner, ghazel |
2010-06-26 01:51:50 | r.david.murray | set | messageid: <1277517110.15.0.461854103538.issue1565525@psf.upfronthosting.co.za> |
2010-06-26 01:51:47 | r.david.murray | link | issue1565525 messages |
2010-06-26 01:51:46 | r.david.murray | create | |
|