Skip to content

Commit

Permalink
continue-in-finally no longer emitted on Python 3.8 where it's now …
Browse files Browse the repository at this point in the history
…valid

Close #3612
  • Loading branch information
PCManticore committed May 14, 2020
1 parent dcb5148 commit 62edb58
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ Release date: TBA

Close #3600

* `continue-in-finally` no longer emitted on Python 3.8 where it's now valid

Close #3612


What's New in Pylint 2.5.2?
===========================
Expand Down
1 change: 1 addition & 0 deletions pylint/checkers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,6 +541,7 @@ class BasicErrorChecker(_BasicChecker):
"continue-in-finally",
"Emitted when the `continue` keyword is found "
"inside a finally clause, which is a SyntaxError.",
{"maxversion": (3, 8)},
),
"E0117": (
"nonlocal name %s found without binding",
Expand Down
2 changes: 2 additions & 0 deletions tests/functional/c/continue_in_finally.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[testoptions]
max_pyver=3.8

0 comments on commit 62edb58

Please sign in to comment.