-
-
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
RecursionError escapes during inference #9139
Closed
2 tasks done
Labels
Crash 💥
A bug that makes pylint crash
Needs astroid update
Needs an astroid update (probably a release too) before being mergable
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Milestone
Comments
Thanks for the report, we always appreciate people providing the crash template. We may in the future mark this as a duplicate of #8842. |
#8842 has to do with recursion errors during AST build/transform, which we should handle in astroid. I'll let this issue be the top-level duplicate for catching RecursionError during inference, which we can handle in pylint. |
jacobtylerwalls
changed the title
Crash with astroid-error
RecursionError escapes during inference
Feb 20, 2024
jacobtylerwalls
added
the
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
label
Feb 20, 2024
This was referenced Feb 20, 2024
jacobtylerwalls
added
the
Needs astroid update
Needs an astroid update (probably a release too) before being mergable
label
May 12, 2024
This was referenced May 15, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Crash 💥
A bug that makes pylint crash
Needs astroid update
Needs an astroid update (probably a release too) before being mergable
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
Note Reporting using the default pre-filled template, so definitely not a minimal example of code.
First, please verify that the bug is not already filled:
https://github.com/pylint-dev/pylint/issues/
Then create a new issue:
https://github.com/pylint-dev/pylint/issues/new?labels=Crash 💥%2CNeeds triage 📥
Issue title:
Crash with astroid-error
Bug description
Note
pylint 2.17.7
astroid 2.15.8
but does withpylint 3.0.1
astroid 3.0.0
.When parsing the following
ts_model.py
:Command used
Pylint output
pylint crashed with a ``AstroidError`` and with the following stacktrace:
Expected behavior
No crash.
Pylint version
OS / Environment
linux (Linux)
Additional dependencies
The text was updated successfully, but these errors were encountered: