Message380268
The following code is completely eliminated by the macros.
1. if 0:
2. secret_debugging_code()
PEP 626 says that all executed lines of code must generate trace events,
so we need to emit an instruction for line 1.
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. |
|
Date |
User |
Action |
Args |
2020-11-03 10:42:59 | Mark.Shannon | set | recipients:
+ Mark.Shannon, pablogsal |
2020-11-03 10:42:59 | Mark.Shannon | set | messageid: <1604400179.28.0.816626213543.issue42246@roundup.psfhosted.org> |
2020-11-03 10:42:59 | Mark.Shannon | link | issue42246 messages |
2020-11-03 10:42:59 | Mark.Shannon | create | |
|