-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
pylint exceeds max recursion depth with setuptools.Command #3159
Labels
Crash 💥
A bug that makes pylint crash
Comments
Thanks for opening an issue! It's something we want to fix in a future bug fix release. |
PCManticore
added a commit
to pylint-dev/astroid
that referenced
this issue
Oct 18, 2019
This should prevent a bunch of recursion errors happening in pylint. Also refactor the inference of `IfExp` nodes to use separate contexts for each potential branch. Close pylint-dev/pylint#3152 Close pylint-dev/pylint#3159
This is fixed in astroid and will be released shortly as 2.3.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This does not appear to be fixed on the preview release. I'm testing on a Windows 10 machine.
Winver: Version 1903 (OS Build 18362.356)
Steps to reproduce
python -m venv .\venv
.\venv\Scripts\activate.ps1
pip install pylint
pylint recurse_setup.py
recurse_setup.py
The exception does not happen if you remove the
AnyCommand
fromrecurse_setup.py
works_setup.py
Current behavior
I didn't want to paste the entire error because it repeats and is crazy long:
Expected behavior
In a prior version of pylint
pylint --version output
Other packages installed in venv
pip freeze
Setuptools version
Reproduced issue in both
39.0.1
and the latest41.2.0
The text was updated successfully, but these errors were encountered: