En Mon, 26 Jan 2009 08:47:31 -0200,
escribió:
On 26 Jan., 03:25, "Gabriel Genellina" wrote:
En Sun, 25 Jan 2009 23:46:01 -0200,
escribió:
> I have a problm with deallocating stuff. I call a function with this
> command:
> PyObject *rvalue = PyObject_CallMethod(obj, "execute","",NULL);
>
the hook is, how to delete the locals of this function, maybe thats a
workaround?
thanks and bye.
--
http://mail.python.org/mailman/listinfo/python-list
On 26 Jan., 03:25, "Gabriel Genellina" wrote:
> En Sun, 25 Jan 2009 23:46:01 -0200,
> escribió:
>
>
>
> > I have a problm with deallocating stuff. I call a function with this
> > command:
>
> > PyObject *rvalue = PyObject_CallMethod(obj, "execute","",NULL);
>
> > if(rvalue==NULL)
> > PyErr_
En Sun, 25 Jan 2009 23:46:01 -0200,
escribió:
I have a problm with deallocating stuff. I call a function with this
command:
PyObject *rvalue = PyObject_CallMethod(obj, "execute","",NULL);
if(rvalue==NULL)
PyErr_Print();
else
Py_DECREF(rvalue);
Can it be, that something is missing h
Hi!
I have a problm with deallocating stuff. I call a function with this
command:
PyObject *rvalue = PyObject_CallMethod(obj, "execute","",NULL);
if(rvalue==NULL)
PyErr_Print();
else
Py_DECREF(rvalue);
Can it be, that something is missing here? Imagine I allocate an
object of a type:
t