-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Open
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixestopic-replRelated to the interactive shellRelated to the interactive shelltype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
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
Linked PRs
Metadata
Metadata
Assignees
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixestopic-replRelated to the interactive shellRelated to the interactive shelltype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error