PyIUnknown.__cmp__
int = __cmp__()
Implements COM rules for object identity.
Comments
As per the COM rules for object identity, both objects are queried for IUnknown, and these values compared. The only meaningful test is for equality - the result of other comparisons is undefined (ie, determined by the object's relative addresses in memory.