On Fri, Nov 19, 1999 at 11:55:04AM -0500, Pete Ware wrote:
> I was curious how the Qt event loop works in relation to Python.
>
> I'd like to do the following:
> The first is I'd like to get access to any unhandled exceptions. The
> second is I'd like to add a file descriptor (from a pipe) into the
> event loop as well.
>
> Any suggestions?
The answer to your second question is to use QSocketNotifier.
QSocketNotifier is misnamed; on unix at least, it's useable with _any_
filedescriptior, which you can get at with the .fileno() method on any python
file object.
Toby.