[Python-ideas] IDEA: do not alter default SIGINT handling
mwm-keyword-python.b4bdba at mired.org
Tue Sep 15 21:45:30 CEST 2009
On Tue, 15 Sep 2009 09:16:27 -0700 (PDT)
ryles <rylesny at gmail.com> wrote:
> 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
> FYI, threading.Event().wait(n) actually looks to be interruptible on
> both *nix and Windows.
Is there an example in the standard library that doesn't handle
interrupts properly on both systems? How about a libc function that
fails when invoked via ctypes?
If not, then it might be reasonable to conclude that the problem is
buggy extensions, and go back to figuring out how to make it easier to
write extensions that handle this properly.
Mike Meyer <mwm at mired.org> http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
More information about the Python-ideas