Message252801
| Author |
mdf |
| Recipients |
mdf, paul.moore, steve.dower, tim.golden, zach.ware |
| Date |
2015年10月11日.12:40:35 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1444567236.08.0.958032385807.issue25376@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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:
>>> |
|