]> granicus.if.org Git - python/commit
After the removal of SET_LINENO, PyCode_Addr2Line has always been
authorMichael W. Hudson <mwh@python.net>
Sat, 22 Feb 2003 13:07:53 +0000 (13:07 +0000)
committerMichael W. Hudson <mwh@python.net>
Sat, 22 Feb 2003 13:07:53 +0000 (13:07 +0000)
commitc85b6a2d4d35d6ee0053a8f5870113512c1cdcb6
treeb6d09582de2d4d21a7a82e9e773bf49671bb6b9c
parentd9bb1a0b01c65e7c8eecb5024ee58d91f967e2e4
After the removal of SET_LINENO, PyCode_Addr2Line has always been
called to find tb_lineno -- even if Py_OptimizeFlag is true.

So don't call it again when printing the traceback.
Python/traceback.c