-
-
Notifications
You must be signed in to change notification settings - Fork 33.4k
Open
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-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:
Consider this:
>>> 1
1
>>> 2
2
>>> 2
2
>>> 2
2
>>> 2
2
>>> 2
2
>>> 2
2
>>>Now press the arrow up (↑). 2 appears. Then, press it again...
- On Python 3.12, I get
1after the second ↑ press. I consider this the natural behavior. - On Python 3.13, I get
1only after the 7nd ↑ press. I consider this weird.
CPython versions tested on:
3.13
Operating systems tested on:
Linux
Linked PRs
Metadata
Metadata
Assignees
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-replRelated to the interactive shellRelated to the interactive shelltype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error