Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
Open
Description
Bug report
Bug description:
In_curses.window.{getkey,get_wch}
, we are checking for possible interrupting signals and say:
In no-delay mode, an exception is raised if there is no input
However, ingetch
, we say:
In no-delay mode, -1 is returned if there is no input.
In particular, I think we should also check for signals and possibly raise an exception ifPyErr_CheckSignals
fails, and otherwise return -1 as documented. (note thatgetch
returns ERR in no-delay mode, seehttps://linux.die.net/man/3/wgetch).
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
Metadata
Metadata
Assignees
Projects
Status
No status