Extending Python with C (reference counting questions)
Hi there,
I have been using Python for a while and recently have started to extend with C modules. I am a little confused about reference counting though. Suppose we have the following: Code:
static PyObject *SomeFunction(PyObject *self, PyObject *args){ Second, is doing the following a bad idea? Code:
Py_Object *list; Thanks in advance for any suggestions/feedback. |
All times are GMT -5. The time now is 11:41 AM. |