Closed
Description
Bug report
Bug description:
As discussed in https://discuss.python.org/t/python-3-13-0-beta-3-now-available/56847/7 and #120766 (comment)
When I updated from Python 3.13.0b2 to b3 and started the REPL for the first time, pressing arrow up showed the history.
Upon exiting and starting again, there is no more history when I press arrow up. I noticed it is also missing from my other Python REPLs. ~/.python_history
is empty.
To reproduce, I did:
- run
python3.13
- press arrow up, hit enter
- Ctrl+D
- run
python3.13
again -- no history
CPython versions tested on:
3.13
Operating systems tested on:
Linux
Linked PRs
- gh-121245: Amend d611c4c8e9 (correct import) #121255
- gh-121245: a regression test for site.register_readline() #121259
- [3.13] gh-121245: Amend d611c4c8e9 (correct import) (GH-121255) #121261
- [3.13] gh-121245: a regression test for site.register_readline() (GH-121259) #121322
- gh-121245: Refactor site.register_readline() #121659
- [3.13] gh-121245: Refactor site.register_readline() (GH-121659) #121816