Skip to content

Commit 62edb58

Browse files
committed
continue-in-finally no longer emitted on Python 3.8 where it's now valid
Close #3612
1 parent dcb5148 commit 62edb58

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ Release date: TBA
1111

1212
Close #3600
1313

14+
* `continue-in-finally` no longer emitted on Python 3.8 where it's now valid
15+
16+
Close #3612
17+
1418

1519
What's New in Pylint 2.5.2?
1620
===========================

pylint/checkers/base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -541,6 +541,7 @@ class BasicErrorChecker(_BasicChecker):
541541
"continue-in-finally",
542542
"Emitted when the `continue` keyword is found "
543543
"inside a finally clause, which is a SyntaxError.",
544+
{"maxversion": (3, 8)},
544545
),
545546
"E0117": (
546547
"nonlocal name %s found without binding",
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[testoptions]
2+
max_pyver=3.8

0 commit comments

Comments
 (0)