Open
Description
Bug report
Bug description:
Let's say I fire up the REPL and start with the following:
>>> spam = 1
>>> ham = 2
>>> eggs = 3
>>> sp
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 present spam = 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 present ham = 2
, and again it presents spam = 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