Roundup Robot added the comment:
New changeset d98a515489db by Victor Stinner in branch '3.3':
Issue #17209: curses.window.get_wch() now handles correctly KeyboardInterrupt
(CTRL+c)
http://hg.python.org/cpython/rev/d98a515489db
New changeset b9d9bba9dfe5 by Victor Stinner in branch 'default':
STINNER Victor added the comment:
The issue should now be fixed, it will be part of Python 3.3.1 (not released
yet) and Python 3.4. Thanks for the report!
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
STINNER Victor added the comment:
See also #8862.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17209
___
___
Python-bugs-list mailing list
STINNER Victor added the comment:
Attached patch should fix this issue.
--
keywords: +patch
versions: +Python 3.4
Added file: http://bugs.python.org/file29152/curses_get_wch_sigint.patch
___
Python tracker rep...@bugs.python.org
New submission from raymontag:
If I've initialized a window in curses, try to get a single character with
get_wch() and press Ctrl+C, the program crashes even if I handle
KeyboardInterrupt. Here's a code example.
import curses
scr = curses.initscr()
try:
char = scr.get_wch()
except
Changes by raymontag kkoe...@posteo.de:
--
type: - crash
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17209
___
___
Python-bugs-list mailing
Changes by Ned Deily n...@acm.org:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17209
___
___
Python-bugs-list mailing list