[Python-ideas] IDEA: do not alter default SIGINT handling
tjreedy at udel.edu
Tue Sep 15 22:47:00 CEST 2009
> On Sep 15, 9:34 am, Nick Coghlan <ncogh... at 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
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>
caught immediately even with idle.
More information about the Python-ideas