title: Is there an object unique identifier in Python
body: <p>This would be similar to the <code>java.lang.Object.hashcode()</code> method.</p>
  
  <p>I need to store objects I have no control over in a set, and make sure that only if two objects are actually the same object (not contain the same values) will the values be overwritten. </p>