We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run pylint on the follow code:
pylint
for i in range(3): try: raise Exception() except Exception: pass finally: continue
Produces error: E0116: 'continue' not supported inside 'finally' clause (continue-in-finally)
https://docs.python.org/3/whatsnew/3.8.html As of Python 3.8, the above code will no longer throw a SyntaxError, so no error should be produced.
pylint 2.5.2 astroid 2.4.1 Python 3.8.2 (default, Mar 11 2020, 00:29:30)
The text was updated successfully, but these errors were encountered:
continue-in-finally no longer emitted on Python 3.8 where it's now …
continue-in-finally
bee8dc7
…valid Close #3612
84007e2
62edb58
b73afc8
No branches or pull requests
Steps to reproduce
Run
pylint
on the follow code:Current behavior
Produces error: E0116: 'continue' not supported inside 'finally' clause (continue-in-finally)
Expected behavior
https://docs.python.org/3/whatsnew/3.8.html
As of Python 3.8, the above code will no longer throw a SyntaxError, so no error should be produced.
pylint --version output
pylint 2.5.2
astroid 2.4.1
Python 3.8.2 (default, Mar 11 2020, 00:29:30)
The text was updated successfully, but these errors were encountered: