Latest version of astroid (2.6.3) causes RuntimeError: generator raised StopIteration
#4723
Labels
Blocker 🙅
Blocks the next release
Crash 💥
A bug that makes pylint crash
Needs astroid update
Needs an astroid update (probably a release too) before being mergable
Milestone
Steps to reproduce
mycode.py
(This is basically from this example: pylint-dev/astroid#1090 except I wrapped the with block in a function.)
Current behavior
Expected behavior
No exception raised.
pylint --version output
Result of
pylint --version
output:Additional dependencies:
There is no issue if I pin to
astroid==2.6.2
. Also, please let me know if this should be an astroid issue instead.The text was updated successfully, but these errors were encountered: