Closed pylint-bot closed 8 years ago
Original comment by Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore):
Should be fixed in astroid by https://bitbucket.org/logilab/astroid/commits/64ee33ed4a9a02ff20c2007ef9a5a87f3222078e. Please reopen if it still does not work (I can't reproduce it afterwards).
Original comment by Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore):
The issue was fixed for the numpy's case, but it's not a proper fix per se, in the sense that if you replace numpy with anything else, you'll still get abstract-class-instantied.
Original comment by Claudiu Popa (BitBucket: PCManticore, GitHub: @PCManticore):
Don't consider a class abstract if its members can't be properly inferred.
This fixes a false positive related to abstract-class-instantiated. Closes issue #648.
Originally reported by: Antony Lee (BitBucket: anntzer, GitHub: @anntzer?)
Basic example
pylint gives (in particular)
I don't really mind the first error (which has been discussed ad nauseam in other threads) but it would be nice if pylint still marked the method as being overridden in the second case.