Hi Phil, 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"),
(PyObject *)sw);
which should have a lower case %s and you probably want something like
PyEval_GetFuncName((PyObject *)sw) or
PyObject_Repr((PyObject *)sw).
In the latter case, you'd have to check for a NULL return.
Kovid.
--
_____________________________________
Dr. Kovid Goyal
http://www.kovidgoyal.net
http://calibre-ebook.com
_____________________________________
signature.asc
Description: Digital signature
_______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
