Re: handy stacktrace class

2004-12-12 Thread will . ware
Oh. Never mind, then. -- http://mail.python.org/mailman/listinfo/python-list

Re: handy stacktrace class

2004-12-12 Thread Fredrik Lundh
Will Ware wrote: >I was fooling with some Python code, and starting to miss the > Exception.printStackTrace() feature in Java. traceback.print_exc() -- http://mail.python.org/mailman/listinfo/python-list

handy stacktrace class

2004-12-11 Thread Will Ware
I was fooling with some Python code, and starting to miss the Exception.printStackTrace() feature in Java. Here is a stab at something roughly analogous, which puts together a stacktrace as an XML document. import xml.dom.minidom class Stacktrace(xml.dom.minidom.Document): def __init__(self):