
Sept. 15, 2009
10:47 p.m.
ryles wrote:
On Sep 15, 9:34 am, Nick Coghlan <ncogh...@gmail.com> wrote:
Actually, it looks like it works with a modern version of Python (I just checked with the 2.6 install on my home Windows machine).
I'm using 2.6.2 on XP SP3 and time.sleep() is not interrupted with Control-C.
Win32XP, Py3.1 Keyboard Interrupt is immediately caught in console. In IDLE, only caught when sleep ends.
while 1:pass
Traceback (most recent call last): File "<pyshell#12>", line 1, in <module> while 1:pass KeyboardInterrupt caught immediately even with idle.