-
-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
The New REPL Does Not Load My Command History #120766
Comments
Hummm, it looks like this code it's using @ambv what do you think? Maybe we can monkey patch |
I have made a workaround for this issue: #121160 (comment). |
@whitequark, AFAIK that's a different issue. |
I'm seeing a possibly related issue but without a startup file. The first time Python 3.13 runs the history is there, but after exiting and running again the history has gone. Running an older Python populates the history with new entries but they're lost the next time Python 3.13 exits. Git bisect tracked the issue to 38cfa92. The actual issue is in Lines 527 to 532 in c7991cc
Changing this to |
@domdfcoding As this does not require a startup file, I belive it's a different (and more severe issue). I opened #121245 |
Bug report
Bug description:
In my ~/.pystartup I have the following code:
This is something I've been using for years. With this startup file, I can enter the REPL and immediately up-arrow to scroll through the commands I used the last time I used the REPL.
With the new REPL there are two related things going wrong:
CC @ambv, @pablogsal
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
The text was updated successfully, but these errors were encountered: