Re: Understanding co_lnotab

2014-09-27 Thread Skip Montanaro
On Sat, Sep 27, 2014 at 7:08 AM, Ned Batchelder wrote: > Just out of curiosity, what are you writing, it sounds interesting! :) Ned would say that. I think he has an unusual fondness for static code analysis tools. :-) Skip -- https://mail.python.org/mailman/listinfo/python-list

Re: Understanding co_lnotab

2014-09-27 Thread Ned Batchelder
On 9/26/14 7:13 AM, Shiyao Ma wrote: > When reading the notes on co_lnotab > > I totally got lost at this > line:https://hg.python.org/cpython/file/fd0c02c3df31/Objects/lnotab_notes.txt#l31 > > It says,"In case #b, there's no way to know > from looking at the table later how many were written."

Understanding co_lnotab

2014-09-26 Thread Shiyao Ma
When reading the notes on co_lnotab I totally got lost at this line:https://hg.python.org/cpython/file/fd0c02c3df31/Objects/lnotab_notes.txt#l31 It says,"In case #b, there's no way to know from looking at the table later how many were written." No way to know "what" is written? And why no way