refcounting errors???

hannibal.holm at gmail.com hannibal.holm at gmail.com
Fri Nov 3 10:23:05 EST 2006


Bingo, that works.

Thanks!

Fredrik Lundh wrote:
> hannibal.holm at gmail.com wrote:
>
>
> > The invokation of the foo-function goes somewhere in the line of:
> >
> >            PyObject *up = PyBool_FromLong(1L);
> >            if (! up) PyErr_Print();
> >
> >            PyObject *res = PyObject_CallFunction(action.u.button.u.s,
> > "(NIH)",
> 
> what happens if you use "(OIH)" instead ?
> 
> </F>




More information about the Python-list mailing list