Issue1638

classification
Title: Support co_lnotab line number structure
Type: rfe Severity: normal
Components: Core Versions: Jython 2.7
process
Status: open Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: bpedman, fwierzbicki, zyasoft
Priority: low Keywords:

Created on 2010-07-26.16:10:45 by zyasoft, last changed 2014-06-19.05:30:57 by zyasoft.

Messages
msg5925 (view) Author: Jim Baker (zyasoft) Date: 2010-07-26.16:10:44
In order to support tools like coverage, we need the line numbers to be available. This need not be strictly compatible with CPython's, but it probably makes most sense to make accessible via the co_lnotab attribute (perhaps lazily).

See this thread: http://markmail.org/thread/3e2npt2pupxlyamq
msg6255 (view) Author: Brandon (bpedman) Date: 2010-11-18.21:22:04
I would love to see this supported too (as well as co_consts). 

I have gotten jython to work with winpdb/rpdb2 and these are the last 2 fields that need to work to be able to set breakpoints. 

I have already implemented some other things in rpdb2 and jython (like frame.f_exc_XXX) to support this and I wouldn't mind working on this issue a little myself but I am having a hard time conceptualizing how it would work.
msg8712 (view) Author: Jim Baker (zyasoft) Date: 2014-06-19.05:30:56
Let's revisit this. It's not too difficult to provide, and coverage as one example consuming tool is increasingly important in the Python ecosystem.

Target beta 4, but with low priority
History
Date User Action Args
2014-06-19 05:30:57zyasoftsetpriority: normal -> low
resolution: accepted
messages: + msg8712
2013-02-26 17:34:03fwierzbickisetnosy: + fwierzbicki
versions: + Jython 2.7
2010-11-18 21:22:04bpedmansetnosy: + bpedman
messages: + msg6255
2010-08-22 22:48:38zyasoftsetpriority: normal
2010-07-26 16:10:45zyasoftcreate