bpo-35029: Replace the SyntaxWarning exception with a SyntaxError. (GH-9999)
If SyntaxWarning was raised as an exception, it will be replaced with a SyntaxError for better error reporting.
S
Serhiy Storchaka committed
d31e7730cd5d74efbd7320751dacd51d09cc415d
Parent: 2f73ed6
Committed by GitHub <noreply@github.com>
on 10/21/2018, 7:09:39 AM