From: Raghuram D. <ra...@sy...> - 2006-08-17 12:40:53
|
Thanks for the info. My initial emphasis will be on 2.1 as that is what we deploy. Once that is done, I can work on other branches. Raghu. Charlie Groves wrote: > The linenumbers are generated from the f_lineno field in the PyFrame > for each call in a traceback. I think you could add the line number > from the python file that generated a particular method in the java > code created by jythonc. Then as the frames are created in calls into > the java, set f_lineno in addition to the stuff that is already filled > in. This is just conjecture based on some knowledge of the exception > building and a rudimentary understanding of how jythonc works, so take > it with a grain of salt. > > It'd be great to have someone working on jythonc. It's going to need > to be taught about generators if it's going to work with 2.3, and I > don't think anyone is working on it now. > > Thanks, > Charlie > > On 8/16/06, Raghuram Devarakonda <ra...@sy...> wrote: >> >> Hi, >> >> I submitted this bug quite a while back but it is not assigned to >> anyone. I haven't tried to reproduce the problem with jython 22 but >> there is a comment in the bug report which says the problem remains. I >> would like to take a look but it will be nice if someone can tell me >> whether getting line numbers in this case is feasible. I would also >> appreciate any general remarks about how best to go about the fix. >> >> http://sourceforge.net/tracker/index.php?func=detail&aid=904322&group_id=12867&atid=112867 >> >> >> Thanks, >> Raghu. >> >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job >> easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Jython-dev mailing list >> Jyt...@li... >> https://lists.sourceforge.net/lists/listinfo/jython-dev >> > |