astroid
astroid copied to clipboard
RecursionError when using "ray"
Steps to reproduce
- pyreverse --output dot --only-classnames --filter-mode PUB_ONLY ray.py
- pyreverse --output dot --only-classnames --filter-mode PUB_ONLY discrete_search.py
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
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.
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
A helpful repro at https://github.com/pylint-dev/pylint/issues/8565
@jacobtylerwalls Should we just increase the recursion limit? Other tools seem to do so as well.
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)