-
-
Notifications
You must be signed in to change notification settings - Fork 32k
[Windows] New REPL does not preserve history between sessions #125154
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
Comments
I was unable to reproduce this problem on Fedora. This might be Windows-specific. |
This is a (supposedly) known limitation, as history support in Windows hasn't been added so far. I took a stab at it in #122274. |
:-( That's something that should probably be publicised much better, then, as it's a surprising and (in my case at least) frustrating limitation compared to the old OS-provided REPL. I'm not sure it's bad enough that I'd switch off the new REPL, but it will take some getting used to. |
Sounds like #121245 reappears. Does this build has readline support? |
Windows has no readline module. |
In previous versions of python3, installing pyreadline3 added readline support to Windows, which enabled REPL history between sessions. This does not work in python 3.13. |
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Bug description:
I have downloaded Python 3.13.0, Windows 64 bit version from python.org. I have done nothing to customise it.
I start Python. type "12" at the REPL, and press enter. The value 12 is displayed. I hit Ctrl-Z to exit (same happens if I type "exit"). I restart Python and hit the up arrow key. It does not retrieve the "12" from my previous session.
CPython versions tested on:
3.13
Operating systems tested on:
Windows
The text was updated successfully, but these errors were encountered: