-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
Ctrl+C corrupts autocomplete #134869
Copy link
Copy link
Closed
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
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
Bug report
Bug description:
dict.cExpected behavior
There should be nothing after
KeyboardInterrupt, and nothing after>>>like Node.js and PowerShell.Actual behavior
The autocomplete was not cleared, and what is a
KeyboardInterrupt.copy(?CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs