summaryrefslogtreecommitdiff
path: root/Misc/NEWS.d/next/Core and Builtins/2019-05-15-01-29-29.bpo-1875.9oxXFX.rst
blob: 8f095ed9f16b12601a88a631f0bd9dfb16d451a2 (plain)
1
2
3
A :exc:`SyntaxError` is now raised if a code blocks that will be optimized
away (e.g. if conditions that are always false) contains syntax errors.
Patch by Pablo Galindo.