Reference counting

Rolf Wester wester at
Thu Aug 29 12:40:42 EDT 2002


I have a problem wit a Python module written in C using numpy-arrays. I have
a function that has a numpy-array parameter. It seems that the reference count
of this
numpy-array is incremented when calling the function. Is it possible to get the
reference count of a Python object so I could check whether this is really the

Thanks in advance


More information about the Python-list mailing list