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
_____________________________________

Attachment: signature.asc
Description: Digital signature

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to