]> granicus.if.org Git - python/commit
bpo-35029: Replace the SyntaxWarning exception with a SyntaxError. (GH-9999)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 21 Oct 2018 07:09:39 +0000 (10:09 +0300)
committerGitHub <noreply@github.com>
Sun, 21 Oct 2018 07:09:39 +0000 (10:09 +0300)
commitd31e7730cd5d74efbd7320751dacd51d09cc415d
tree2ec0ee3852041197d9dda25b4e9eb6a4f5c2c9ca
parent2f73ed69130cdf63b773275f430c9abdab0757ad
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.
Lib/test/test_grammar.py
Misc/NEWS.d/next/Core and Builtins/2018-10-20-10-26-15.bpo-35029.t4tZcQ.rst [new file with mode: 0644]
Python/compile.c