bjpop / blip

A bytecode compiler for Python 3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Line number table (lnotab) not supported

bjpop opened this issue · comments

We do not currently generate the line number table (lnotab) for code objects.

Support for lnotab is now available, although CPython seems to generate a table entry for every bytecode instruction, whereas we only generate an entry when the line number changes. Our approach produces shorter tables, but I'm not 100% sure if there aren't other reasons that CPython works the way it does.