From: jha <re...@bu...> - 2009-01-27 08:00:11
|
New submission from jha <jh...@ma...>: Running the attached script with Jython (r5984) prints: >>> java -jar jython.jar /tmp/trace_try.py <trace> call in foobar @ 7 <trace> line in foobar @ 9 foo <trace> line in foobar @ 11 bar <trace> return in foobar @ 11 ..and CPython (2.5.1, 2.5.2, 2.6) prints: ~> python /tmp/trace_try.py <trace> call in foobar @ 7 <trace> line in foobar @ 8 <trace> line in foobar @ 9 foo <trace> line in foobar @ 11 bar <trace> return in foobar @ 11 ---------- components: Core files: trace_try.py messages: 4083 nosy: jha severity: minor status: open title: Trace function is not called with a line event for try statements type: behaviour versions: 2.5b1 Added file: http://bugs.jython.org/file603/trace_try.py _______________________________________ Jython tracker <re...@bu...> <http://bugs.jython.org/issue1248> _______________________________________ |