[issue26107] PEP 511: code.co_lnotab: use signed line number delta to support moving instructions in an optimizer
Serhiy Storchaka
report at bugs.python.org
Mon Jan 18 06:57:53 EST 2016
Serhiy Storchaka added the comment:
Yes, you patch supersedes issue16956 patch.
Added new comments on Rietveld for lnotab_notes.txt.
I afraid this patch can cause problems with code tracing where it is assumed that lines are increased monotonically and *instr_lb <= frame->f_lasti < *instr_ub. We should carefully analyze the effect of the patch on the tracing.
Before committing you must ask Guido for approval. AFAIK his had objections against code transformations that make debugging harder.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26107>
_______________________________________
More information about the Python-bugs-list
mailing list