Pablo Galindo Salgado <pablog...@gmail.com> added the comment:

> Dead code elimination will remove the `secret_debugging_code()`, but leave 
> the test. The peephole optimiser can then reduce it to a NOP, but won't 
> eliminate it as it is the only instruction for line 1.

Gotcha. I am pretty sure that this will have a similar problem as the coverage 
people were claiming when we were not properly removing all dead code (slightly 
less coverage percentage). This is not a problem of course, but we should ping 
the coverage folks so they are aware of this.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue42246>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to