[PyKDE] problem with exceptions within events

Hans-Peter Jansen hpj at urpla.net
Fri Feb 25 15:47:17 GMT 2005


Hi Ulli,

On Friday 25 February 2005 16:33, Ulrich Berning wrote:
>
> The hook function has to check, if one of the calling frames of the
> traceback frame contains the method exec_loop.

That's exactly Phils point: looking for specific methods in the call 
stacks are not only ugly as hell, it's prone to errors: 
- Who prevents users from creating exec_loop methods, functions, ...
- What other methods need this special handling?...

For that reason, Phil looked for a flag based solution, but couldn't 
escape this can o'worms theme..

> Maybe I'm totally wrong with my idea.

No, but it's just not ready for prime time ;-)

Pete




More information about the PyQt mailing list