[issue8011] traceback tb_lineno example needs correction for Python3
Ezio Melotti
report at bugs.python.org
Thu Feb 25 01:08:25 CET 2010
Ezio Melotti <ezio.melotti at gmail.com> added the comment:
I think this can be changed on 2.x as well, since the traceback.tb_lineno function "has no use in versions past 2.3" (so maybe it should be deprecated too, at least in the doc). Also the except should catch an IndexError.
----------
assignee: georg.brandl -> ezio.melotti
nosy: +ezio.melotti
priority: -> normal
stage: -> needs patch
versions: +Python 2.6, Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8011>
_______________________________________
More information about the Python-bugs-list
mailing list