-
-
Notifications
You must be signed in to change notification settings - Fork 264
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 regression property no member 2641 #890
Fix regression property no member 2641 #890
Conversation
…tter property and then infer the result of a call to this function
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.
Is this ready for merging ? If it fixes pylint's master I4m eager to have it merged 😄
@Pierre-Sassoulas yes it is. I was just waiting for a review so now it is ok. |
Yeap, releasing astroid 2.5.0 seems like a good idea. Might be the time to use the new workflow with master becoming 2.6 and a creating a 2 .5 branch for bug fixes. I merged so I can fix pylint's master which I think will not work immediately :) |
There are 5 pylint's unit tests not passing with latest astroid 2.5, that seems to work with astroid 2.4.1, I don't know how to fix, I suppose that was why you said "trying to merge" :) Sorry if I merged too prematurely. |
It is weird. I did not see any failing tests on my laptop. Where can i see those failing tests? Anyway i will look at this problem tomorrow. |
Run with
-- Edit: Noticed that I had an old astroid version installed in my 3.8 environment. Error is version independent.
|
After some more investigation the issue first appeared after #841 was merged. |
@Pierre-Sassoulas @cdce8p thanks for your investigations. |
Steps
Description
This PR adds the
attr_fset
method to thePropertModel
class, so thatpylint
is able to deal with property setter.The need for such a fix has been highlighted with #740 and is confirmed by the bug report pylint-dev/pylint#3480.
Type of Changes
Related Issue
Closes pylint-dev/pylint#3480