bpo-1875: Raise SyntaxError in invalid blocks that will be optimised away (GH-13332)
Move the check for dead conditionals (if 0) to the peephole optimizer and make sure that the code block is still compiled to report any existing syntax errors within.
P
Pablo Galindo committed
af8646c8054d0f4180a2013383039b6a472f9698
Parent: a8b4694
Committed by GitHub <noreply@github.com>
on 5/17/2019, 10:37:08 AM