[issue17619] MS WINDOWS: input() swallows KeyboardInterrupt in Python 3.3
Richard Oudkerk
report at bugs.python.org
Wed Apr 3 12:19:48 CEST 2013
Richard Oudkerk added the comment:
Maybe this is related to
http://bugs.python.org/issue13673
which causes PyTraceback_Print() to fail if a signal is received but PyErr_CheckSignals() has not been called.
Note that wrapping in "try: ... except: raise" makes a traceback appear:
>>> try: input()
... except: raise
...
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
KeyboardInterrupt
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
KeyboardInterrupt
----------
nosy: +sbt
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17619>
_______________________________________
More information about the Python-bugs-list
mailing list