Skip to content

bpo-35029: Replace the SyntaxWarning exception with a SyntaxError.#9999

Merged
serhiy-storchaka merged 1 commit into
python:masterfrom
serhiy-storchaka:compiler-warnings
Oct 21, 2018
Merged

bpo-35029: Replace the SyntaxWarning exception with a SyntaxError.#9999
serhiy-storchaka merged 1 commit into
python:masterfrom
serhiy-storchaka:compiler-warnings

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Oct 20, 2018

Copy link
Copy Markdown
Member

If SyntaxWarning was raised as an exception, it will be replaced
with a SyntaxError for better error reporting.

https://bugs.python.org/issue35029

If SyntaxWarning was raised as an exception, it will be replaced
with a SyntaxError for better error reporting.
@serhiy-storchaka serhiy-storchaka merged commit d31e773 into python:master Oct 21, 2018
@serhiy-storchaka serhiy-storchaka deleted the compiler-warnings branch October 21, 2018 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants