[issue17619] input() swallows KeyboardInterrupt in Python 3.3

Drekin report at bugs.python.org
Tue Apr 2 18:35:51 CEST 2013


New submission from Drekin:

At least on Windows, input() doesn't raise KeyboardInterrupt when Ctrl-C is hit in Python 3.3 (it does in Python 3.2).

3.3:
>>> x = input() # Ctrl-C hit - no exception raised
>>> x
NameError

3.2:
>>> x = input() # Ctrl-C hit
KeyboardInterrupt

----------
messages: 185845
nosy: Drekin
priority: normal
severity: normal
status: open
title: input() swallows KeyboardInterrupt in Python 3.3
type: behavior
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17619>
_______________________________________


More information about the Python-bugs-list mailing list