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" <[EMAIL PROTECTED]> To: "Discussion of IronPython" <users@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@lists.ironpython.com > http://lists.ironpython.com/listinfo.cgi/users-ironpython.com > _______________________________________________ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com