-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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 Command History Does Not Honor Partial Text #120767
Comments
this is not the default behaviour of readline everywhere, I think. I have the same behaviour, but only because I put the following lines into my
|
Good point. I have the same in my Perhaps this issue might be as much a feature request as a bug, e.g. "make the new REPL match |
I have other things in my
|
There are no plans to replicate all .inputrc options in the new REPL. You can use the basic REPL if you rely on specific .inputrc customizations. |
May I ask how to use basic REPL? on my terminal Ok |
Bug report
Bug description:
Let's say I fire up the REPL and start with the following:
At that point, I can up-arrow to scroll through my REPL command history. Normally with that partial
sp
on the line, hitting up-arrow once will immediately presentspam = 1
. Hitting it again will do nothing (since there are no more matching lines).With the new REPL, it presents
eggs = 3
. Hitting it again will presentham = 2
, and again it presentsspam = 1
. I'd rather it keep doing what it did before.CC @ambv, @pablogsal
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
The text was updated successfully, but these errors were encountered: