[IronPython] Traceback support?

Gary Stephenson garys at ihug.com.au
Mon Sep 4 04:48:47 CEST 2006


I got no response from this the first time, so, at the risk of appearing 
rude, I will ask again:  How do I get a hold of a Traceback object, or is it 
not currently possible?

thanks,

gary

----- Original Message ----- 
From: "Gary Stephenson" <garys at ihug.com.au>
To: "Discussion of IronPython" <users at lists.ironpython.com>
Sent: Saturday, September 02, 2006 3:16 PM
Subject: [IronPython] Traceback support?


> In the release notes for Beta 4 it mentions "Traceback support", but try 
> as
> I might I can't seem to get my hands on a Traceback object.   Am I doing
> something wrong?
>
> thanks in advance,
>
> gary
>
>
> import sys
>
> def test():
>    try:
>        raise Exception()
>    except Exception, oErr:
>        print sys.exc_info()[2]       # None in ipy, traceback object in
> CPython
>        print sys.exc_traceback    #  ditto..
>
> test()
>
>
> _______________________________________________
> users mailing list
> users at lists.ironpython.com
> http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
> 




More information about the Ironpython-users mailing list