[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

C API PyObject_GetAttrString returns <getset_descriptor> not the object I expected

After calling PyObject_GetAttrString() I expected to get a PyObject string 
back but I found that I had been given a <getset_description> instead.

(gdb) p *args_o 
$4 = <getset_descriptor at remote 0x7fffea87c7e0>

What is going on and how do I get from the <getset_descriptor> to the object I