[PyQt] Small bug in checkPointer in SIP
kovid at kovidgoyal.net
Mon Jul 30 05:56:50 BST 2012
I noticed the other day that checkPointer() in siplib.c.in has
PyErr_Format(PyExc_RuntimeError, (sipWasCreated(sw) ?
"wrapped C/C++ object of %S has been deleted" :
"super-class __init__() of %S was never called"),
which should have a lower case %s and you probably want something like
PyEval_GetFuncName((PyObject *)sw) or
In the latter case, you'd have to check for a NULL return.
Dr. Kovid Goyal
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: Digital signature
More information about the PyQt