Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
Bug report
Bug description:
When I use the Python REPL, I am used toPgUp browsing my prompt history based on the partial command I already typed.
Consider:
>>>import sys>>>import os>>>...>>> im[PgUp]
Python 3.12 REPL insertsimport os with my cursor betweenm andp. I can keep pressingPgUp to getimport sys and older commands from my history. I don't know if this is Fedora's configuration of readline, or the default. However, Bash and older Python REPLs behave that way, as well as IPython/Jupyter console.
Python 3.130b1 REPL changes my prompt toprint("a") when I pressPgUp. The particular command is my first line of~/.python_history. PressingPgUp again changes nothing.
CPython versions tested on:
3.13
Operating systems tested on:
Linux