[EMAIL PROTECTED] wrote:

> Program crashes at line Py_Finalize(). Program tries to read some
>memory location and suffer run time exception.

PyTuple_SetItem "steals" a reference, so changing

    Py_XDECREF(stringarg);
    Py_XDECREF(args);

to just

    Py_XDECREF(args);

might fix the problem.

</F> 



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to