Steps to reproduce
Lint the following program with pylint
class Crash:
def __len__(self) -> int:
return len(self)
Current behavior
The following error is thrown and pylint crashes
RecursionError: maximum recursion depth exceeded
Expected behavior
It should not crash.
Asteroid version
2.4.0