dieter wrote:
dl l <ldlch...@gmail.com> writes:

When I debug in C++, I see the reference count of a PyObject is 1.
>> How can I find out where is referencing this object?

Likely, it is the reference, you are holding:

Unless you've just Py_DECREFed it, expecting it to go
away, and the recfcount is still 1, in which case there's
still another reference somewhere else.

--
Greg
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to