[PyKDE] Handling exceptions in SIP

Phil Thompson phil at riverbankcomputing.co.uk
Fri Jul 1 08:54:19 BST 2005


On Friday 01 July 2005 8:34 am, Denis S. Otkidach wrote:
> On Thu, 30 Jun 2005 17:24:27 +0100
>
> Phil Thompson <phil at riverbankcomputing.co.uk> wrote:
> > > 1) If sipExceptionRef is not used in RaiseCode we'll get a warning.
> >
> > Tonight's snapshot will only generate it if it is used.
>
> Now I get no sipExceptionRef in catch clause even when it's used in
> %RaiseCode.

Whoops. Change the argument to the strstr() call that checks for 
"sipExceptionRef" from...

xd->raisecode

...to...

xd->raisecode->frag

Phil




More information about the PyQt mailing list