]> granicus.if.org Git - python/commit
Instead of emitting SET_LINENO instructions, generate a line number
authorGuido van Rossum <guido@python.org>
Fri, 24 Jan 1997 03:43:35 +0000 (03:43 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 24 Jan 1997 03:43:35 +0000 (03:43 +0000)
commitda4eb5c3b55df9b7d6957ddd0458313102f0a92e
tree039fce63e172aeb9fb9858d026e60a333efff82a
parent767579854c5b001a6099e1b11164376f60a8e0cd
Instead of emitting SET_LINENO instructions, generate a line number
table which is incorporated in the code object.  This way, the runtime
overhead to keep track of line numbers is only incurred when an
exception has to be reported.
Python/compile.c