This seems like it should be a FAQ, but I can't find it anywhere...

How do I enable proper KeyboardInterrupt handling from within a PyQt4
application?  Is there some way I can prevent PyQt from intercepting
SIGINT?

import signal
...
signal.signal(signal.SIGINT, signal.SIG_DFL)

Is an improvement, but I would prefer that SIGINT triggers a
KeyboardInterrupt exception.

Thanks,

-K

_______________________________________________
PyKDE mailing list    [email protected]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to