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
Crash about overflowing max_stackdepth #5154
Labels
C-bug
Something isn't working
Comments
#5273 fixed a max_stackdepth calculation bug. |
Building from main (5d6d1a6) and running still crashes in the same way. |
Reduced further: # scrapscript.py
def read_one() :
self = 1
while self:
break
else:
return self
{")": 2}
read_one() |
# scrapscript.py
def f() :
while 1:
break
else:
return 2
{1: 2}
f() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
I tried to run scrapscript.py with RustPython. It crashed. I reduced the input code with CReduce and then manually from ~4k lines to 21 lines.
Expected
No crash. In the full example, I expect the test suite to run. In the reduced example I expect nothing to happen.
Actual
The text was updated successfully, but these errors were encountered: