-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix crash on uninferable decorators on Python 3.6 and 3.7 #5549
New issue
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
Fix crash on uninferable decorators on Python 3.6 and 3.7 #5549
Conversation
Pull Request Test Coverage Report for Build 1594218126
💛 - Coveralls |
Pierre-Sassoulas
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
pylint/checkers/utils.py
Outdated
| else: | ||
| continue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It look like this is never used, maybe we can remove it ? Beside right now nothing is exactly the same behavior, right ?
| else: | |
| continue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is used on 3.6 and 3.7. Coveralls is reported on 3.8 (I believe) that's why the coverage dropped. I have added a pragma: no cover.
Co-authored-by: Mark Byrne <[email protected]>
|
Thank you for the headsup @DanielNoord much appreciated and thanks for catching it & fixing. |
doc/whatsnew/<current release.rst>.Type of Changes
Description
Crash identified while working on #5547
Tagging @mbyrnepr2 since you contributed this checker and I wonder if you have an opinion on this fix.