title: Python compare objects in C API
body: <p>Given two <code>PyObject*</code>s, how can I compare them in C API?</p>
  
  <p>I thought of <code>a == b</code> at first, but it's clearly incorrect since it would compare the pointer and not the object. I'm looking for <code>a == b</code> (not <code>a is b</code>) Python equivalent in Python C API.</p>