|
From: Samuele P. <pe...@in...> - 2001-09-29 18:43:02
|
> > I'm writing a little utility that will run a Jython script and when it > catches an error it will open an editor and jump to the line number that > contains the offending script. I'm starting with a Java application and am > correctly catching a forced example exception. Jython gives the exception a > PyException object. From PyException how may I get a PyTraceback object, so > I may get the line number from tb_lineno? > my deep intuition says PyException.traceback :) |