_curses.window.getch
does not check for interruption signals as _curses.window.{getkey,get_wch}
do
#134210
Labels
Bug report
Bug description:
In
_curses.window.{getkey,get_wch}
, we are checking for possible interrupting signals and say:However, in
getch
, we say:In particular, I think we should also check for signals and possibly raise an exception if
PyErr_CheckSignals
fails, and otherwise return -1 as documented. (note thatgetch
returns ERR in no-delay mode, see https://linux.die.net/man/3/wgetch).CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
_curses.window.getch
#134326The text was updated successfully, but these errors were encountered: