[IronPython] Traceback support?

Gary Stephenson garys at ihug.com.au
Sat Sep 2 07:16:47 CEST 2006


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()





More information about the Ironpython-users mailing list