Skip to content
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 when using "ray" #1939

Open
lovettchris opened this issue Jan 6, 2023 · 5 comments
Open

RecursionError when using "ray" #1939

lovettchris opened this issue Jan 6, 2023 · 5 comments

Comments

@lovettchris
Copy link

Steps to reproduce

  1. pyreverse --output dot --only-classnames --filter-mode PUB_ONLY ray.py
  2. pyreverse --output dot --only-classnames --filter-mode PUB_ONLY discrete_search.py

repro.zip

Current behavior

Fatal Python error: Cannot recover from stack overflow.

Expected behavior

No error.

python -c "from astroid import __pkginfo__; print(__pkginfo__.version)" output

2.12.14

@DanielNoord
Copy link
Collaborator

Could you maybe post the stack trace? I'm not a big fan of downloading random zip archives when debugging issues. So direct links to files might be better.

@lovettchris
Copy link
Author

the zip only contains python text files that could not possibly harm your computer so long as you don't run them. But if you don't trust your unzip tool then the files also live here: https://github.com/microsoft/archai/tree/main/archai/discrete_search/objectives

@jacobtylerwalls
Copy link
Member

A helpful repro at pylint-dev/pylint#8565

@DanielNoord
Copy link
Collaborator

@jacobtylerwalls Should we just increase the recursion limit? Other tools seem to do so as well.

@Pierre-Sassoulas
Copy link
Member

This is going to silentely hide genuine inference issues. (There's another discussion about this so I think I know what Jacob will answer :D)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants