-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
WIP: Add regression test for #6094 #6402
base: main
Are you sure you want to change the base?
Conversation
d43c5cd
to
2b1a2ba
Compare
Still needs an astroid 2.12 update though as it's an enhancement :-) |
Waiting on Daniel's investigation in pylint-dev/astroid#1519 |
My bad. I should have written something about this. Turns out this is quite difficult to solve. The ObjectModel is used to resolve some methods but for some reasons it gets priority over many other sources in the mro. This is problematic as very often stuff like However, in other places for some reason we depend on going to ObjectModel directly instead of using the mro. I haven't really found a solution but looking at the failed test in that PR and debugging why it gets incorrectly ingerrred shows pretty clear what is going wrong there. |
Type of Changes
Description
Closes #6094 (requires pylint-dev/astroid#1519)