Miikka Salminen added the comment:
Just tried the same in an IDLE session, but it seems to display the
KeyboardInterrupt correctly:
Python 3.5.0 (v3.5.0:374f501f4567, Sep 13 2015, 02:27:37) [MSC v.1900 64 bit
(AMD64)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> input("Question: ")
Question:
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
input("Question: ")
File "C:\y\Python\Python35\lib\idlelib\PyShell.py", line 1385, in readline
line = self._line_buffer or self.shell.readline()
KeyboardInterrupt
>>>
Running the file input_test.py I meantioned in my original report doesn't seem
to diplay anything when Ctrl+C is pressed:
============= RESTART: C:\x\input_test.py =============
Question:
>>>
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue25376>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com