[issue42718] Allow zero-width entries in code.co_lines()

2020-12-22 Thread Mark Shannon
Change by Mark Shannon : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___ P

[issue42718] Allow zero-width entries in code.co_lines()

2020-12-22 Thread Mark Shannon
New submission from Mark Shannon : While the impact of making `if 0` and `while True` appear when tracing can be mitigated, the impact of `continue` is more of a concern. The following loop: while True: if test: continue rest PEP 626 requires that the `continue` is traced, an