-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
3.13.0 REPL crashes on double ctrl+z in line overflow #126332
Comments
I found even more weird things which happens when handing line overflows 2024-11-02.17-36-48.mov |
Something similar happens with a numeric literal: Double Ctrl+Z
I'm not sure what the intended behaviour is with overflowed lines in the command history, but it does strike me as odd too. |
the expression is not the problem, how the REPL is handling overflowing lines is the problem, so it doesn't matter whether its a number literal or a identifier |
I can confirm the issue in current main. In the
The
The following diff avoids the crash:
|
@pablogsal @godlygeek The optimization in |
Bug report
Bug description:
The new REPL in 3.13.0 crashes on pressing ctrl+Z twice at the end of a overflowing line, refer to the attachment
2024-11-02.17-22-35.mov
CPython versions tested on:
3.13
Operating systems tested on:
Windows
Linked PRs
The text was updated successfully, but these errors were encountered: