[issue42246] Implement PEP 626
Pablo Galindo Salgado
report at bugs.python.org
Tue Nov 3 08:49:18 EST 2020
Pablo Galindo Salgado <pablogsal at 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 <report at bugs.python.org>
<https://bugs.python.org/issue42246>
_______________________________________
More information about the Python-bugs-list
mailing list