Oct. 7, 2008
10:11 p.m.
Given that p.we.x seems to always return the same object (since the hashes, which which appear to be ids, are the same), an __eq__ method (which gets called in preference to __cmp__), possibly inherited, that always return False is the only thing I can think of. (Hence Martin's question, I presume). I have no idea, however, how porting could make that happen.
I see no reply from Martin. What was his question?
Whether __eq__ was implemented for the specific type (and whether that implementation was consistent with __hash__). Regards, Martin