[PyQt] sip: template<> %MappedType doesn't allow /AllowNone/

Mathias.Born at gmx.de Mathias.Born at gmx.de
Wed Sep 19 21:29:30 BST 2012

On 19.09.2012, 22:19:45 Mathias.Born at gmx.de wrote:
> On 18.09.2012, 11:02:34 Phil Thompson wrote:

>> A thought...

>> Did you update from hg or use a snapshot?

>> If hg did you change to the default branch?

>> Phil

> I had not changed the branch. Now I have, and

> hg identify

> says "6d704a7ab6c5 tip".

> But now sip.exe crashes with my sip file. Don't have time right now
> to look at it, though.

> Best Regards,
> Mathias Born

I believe you need to add

  spec->errorhandlers = NULL;

to the "parse" function in "parser.y" of sipgen (line 4326).
This stops sip.exe from crashing for me.

Best Regards,
Mathias Born

More information about the PyQt mailing list