refcounting errors???

Fredrik Lundh fredrik at pythonware.com
Fri Nov 3 06:38:26 EST 2006


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