[EMAIL PROTECTED] wrote:

> It works as I want when used in the main application thread.
> That is, when you hit Ctr + C, it stops running.  However, if
> the class that subclasses it, also subclasses Thread, it breaks
> in that hitting Ctrl + C interrupts the call to sleep which puts
> the event loop out of sync with real time.

Maybe you could install a signal handler to ignore ctrl+c, when required

import signal
signal.signal(signal.SIGINT, signal.SIG_IGN)


-- 
Jeremy Sanders
http://www.jeremysanders.net/
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to