Message197429
I'm happy to change the function name, though I'll note that the traceback module does have print_tb(), format_tb() and extract_tb().
I'm OK with both of Victor's suggestions but personally slightly prefer traceback.clear_frames(tb).
Rationale: People who are keeping tracebacks around and want to save memory are probably using other functions from the traceback module, and the module has fairly short names (print_tb, format_exception) so I doubt they'll often do 'from traceback import clear_traceback_frames'. |
|
Date |
User |
Action |
Args |
2013-09-10 09:28:42 | akuchling | set | recipients:
+ akuchling, tim.peters, loewis, terry.reedy, pitrou, vstinner, ghazel, r.david.murray, pconnell |
2013-09-10 09:28:42 | akuchling | set | messageid: <1378805322.37.0.221018295822.issue1565525@psf.upfronthosting.co.za> |
2013-09-10 09:28:42 | akuchling | link | issue1565525 messages |
2013-09-10 09:28:41 | akuchling | create | |
|