This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author raymontag
Recipients raymontag
Date 2013-02-15.12:34:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1360931664.77.0.750623076852.issue17209@psf.upfronthosting.co.za>
In-reply-to
Content
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 KeyboardInterrupt:
    pass

With getch() instead of get_wch() it works though.
History
Date User Action Args
2013-02-15 12:34:24raymontagsetrecipients: + raymontag
2013-02-15 12:34:24raymontagsetmessageid: <1360931664.77.0.750623076852.issue17209@psf.upfronthosting.co.za>
2013-02-15 12:34:24raymontaglinkissue17209 messages
2013-02-15 12:34:24raymontagcreate