-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Closed
Labels
OS-windowstopic-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:
ReadConsoleInput is documented as always returning at least one input. This breaks things in a couple of spots:
- searching inputs and hitting ctrl-c. This blocks reading, a 2nd ctrl-c is required, and then the interpreter crashes.
- Background exceptions with a partial input. This should display the exception and do a keyboard interrupt, but it only happens on the next keypress.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Windows
Linked PRs
Metadata
Metadata
Assignees
Labels
OS-windowstopic-replRelated to the interactive shellRelated to the interactive shelltype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error