[New-bugs-announce] [issue20616] Add tracemalloc.Traceback.format() method

STINNER Victor report at bugs.python.org
Thu Feb 13 12:43:40 CET 2014

New submission from STINNER Victor:

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.

files: traceback_format.patch
keywords: patch
messages: 211147
nosy: gvanrossum, haypo, larry, neologix
priority: release blocker
severity: normal
status: open
title: Add tracemalloc.Traceback.format() method
versions: Python 3.4
Added file: http://bugs.python.org/file34067/traceback_format.patch

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list