We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
f.py
class MyClass: def __init__(self): self._slice = slice(0, 10) def incr(self): self._slice = slice(0, self._slice.stop + 1)
python -m pylint f.py
slice
foo
Might related to #2628 #2627
RecursionError: maximum recursion depth exceeded
No error.
pylint 2.2.2 astroid 2.1.0 Python 3.7.1 (default, Oct 22 2018, 10:41:28) [GCC 8.2.1 20180831]
The text was updated successfully, but these errors were encountered:
Thanks @jermainewang I can confirm the bug.
Sorry, something went wrong.
pylint-dev/astroid@c54ca8e
Add test case for #2667
13dd2a7
Successfully merging a pull request may close this issue.
Uh oh!
There was an error while loading. Please reload this page.
Steps to reproduce
f.py
:python -m pylint f.py
slice
to any other identifiers solves the problem (e.g. changeslice
tofoo
).Might related to #2628 #2627
Current behavior
RecursionError: maximum recursion depth exceeded
Expected behavior
No error.
pylint --version output
pylint 2.2.2
astroid 2.1.0
Python 3.7.1 (default, Oct 22 2018, 10:41:28)
[GCC 8.2.1 20180831]
The text was updated successfully, but these errors were encountered: