This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author akuchling
Recipients akuchling, ghazel, loewis, pconnell, pitrou, r.david.murray, terry.reedy, tim.peters, vstinner
Date 2013-09-10.09:28:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1378805322.37.0.221018295822.issue1565525@psf.upfronthosting.co.za>
In-reply-to
Content
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'.
History
Date User Action Args
2013-09-10 09:28:42akuchlingsetrecipients: + akuchling, tim.peters, loewis, terry.reedy, pitrou, vstinner, ghazel, r.david.murray, pconnell
2013-09-10 09:28:42akuchlingsetmessageid: <1378805322.37.0.221018295822.issue1565525@psf.upfronthosting.co.za>
2013-09-10 09:28:42akuchlinglinkissue1565525 messages
2013-09-10 09:28:41akuchlingcreate