[Python-Dev] SET_LINENO and python options

M.-A. Lemburg mal@lemburg.com
Mon, 31 Jul 2000 10:13:46 +0200

[Vladimir on removing SET_LINENO opcodes per default]

Is there any reason why we can't just use traceback.tb_lineno()
+ maybe an equivalent C function instead of adding useless opcodes
into the byte code stream ?

The line number information is already stored in the co_lnotab
table, so SET_LINENO is redundant in some respects.

Marc-Andre Lemburg
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/