]> granicus.if.org Git - python/commit
New version of tb_lineno(), this time *not* using try-except, to avoid
authorGuido van Rossum <guido@python.org>
Thu, 26 Feb 1998 17:25:02 +0000 (17:25 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 26 Feb 1998 17:25:02 +0000 (17:25 +0000)
commit6e73af723cd094c37f7dc4099306c60084c6ecd0
tree30df89caaebe85360ab62183d47488070eeba303
parent2474d685480f437b68e0fbb110b33f7541a4fe1d
New version of tb_lineno(), this time *not* using try-except, to avoid
disturbing the current exception, and returning tb.tb_lineno, which is
the line number of thr traceback, rather than the current line number.
By Jim Hugunin.
Lib/traceback.py