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 vstinner
Recipients gvanrossum, larry, neologix, vstinner
Date 2014-02-13.11:43:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392291820.41.0.346286510038.issue20616@psf.upfronthosting.co.za>
In-reply-to
Content
Attached patch adds a Traceback.format() to the new tracemalloc module.

Since the tracemalloc is new in Python 3.4 and my patch adds a new (simple and tested) method, I consider that it's not so late to add it :-)

I chose a different API than traceback.format_tb() because I would like to use directly print or use functions of the logging module (logging doesn't expect newlines).

I set the priority to release blocker because I want to know Larry's opinion on this issue.

@Larry: Change the priority if you consider that it's really too late for such change.
History
Date User Action Args
2014-02-13 11:43:40vstinnersetrecipients: + vstinner, gvanrossum, larry, neologix
2014-02-13 11:43:40vstinnersetmessageid: <1392291820.41.0.346286510038.issue20616@psf.upfronthosting.co.za>
2014-02-13 11:43:40vstinnerlinkissue20616 messages
2014-02-13 11:43:40vstinnercreate