[issue42693] "if 0:" lines are traced; they didn't use to be

Ned Batchelder report at bugs.python.org
Tue Dec 22 16:21:30 EST 2020


Ned Batchelder <ned at nedbatchelder.com> added the comment:

Mark, I'm trying to follow along with your ideas, but it's hard to piece together the implications.  Is there a way to have a discussion about where you are headed?

https://github.com/python/cpython/pull/23896 "fixes" the jump to jump problems by no longer optimizing away jumps to jumps.  https://bugs.python.org/issue42719 mentions creating zero-width entries in the line number table.  Does that let us get rid of jumps to jumps but still produce two trace events?  I'd like to understand more.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42693>
_______________________________________


More information about the Python-bugs-list mailing list