[Python-bugs-list] [ python-Feature Requests-609825 ] traceback "as_string" functions.

noreply@sourceforge.net noreply@sourceforge.net
Mon, 30 Sep 2002 02:27:44 -0700


Feature Requests item #609825, was opened at 2002-09-16 08:48
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=609825&group_id=5470

Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Allan Crooks (amc1)
Assigned to: Nobody/Anonymous (nobody)
>Summary: traceback "as_string" functions.

Initial Comment:
It would be nice for the functions in the traceback 
module to have an "as_string" (or "to_string" equivalent).

So, as well as the "print_tb" function, you'd have a 
function called "print_tb_to_string" which doesn't need a 
file argument, and returns a string.

----------------------------------------------------------------------

>Comment By: Allan Crooks (amc1)
Date: 2002-09-30 09:27

Message:
Logged In: YES 
user_id=39733

Apologies, I didn't see those functions. Ignore this request 
then. :)

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2002-09-22 13:17

Message:
Logged In: YES 
user_id=21627

What's wrong with traceback.format_tb?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=609825&group_id=5470