add PyObject refcount debugging code