]> granicus.if.org Git - python/commit
SF bug 430991: wrong co_lnotab
authorTim Peters <tim.peters@gmail.com>
Sat, 9 Jun 2001 09:26:21 +0000 (09:26 +0000)
committerTim Peters <tim.peters@gmail.com>
Sat, 9 Jun 2001 09:26:21 +0000 (09:26 +0000)
commit2a7f3841227d63d011ba498006c4a41cd86f3bb7
tree8378eba96b4caa6bd338409b516473fc8b65e035
parenteefa964932f2ed3b27cdac546022efe682896237
SF bug 430991: wrong co_lnotab
Armin Rigo pointed out that the way the line-# table got built didn't work
for lines generating more than 255 bytes of bytecode.  Fixed as he
suggested, plus corresponding changes to pyassem.py, plus added some
long overdue docs about this subtle table to compile.c.

Bugfix candidate (line numbers may be off in tracebacks under -O).
Lib/compiler/pyassem.py
Misc/ACKS
Python/compile.c
Tools/compiler/compiler/pyassem.py