On Jan 22, 2008 5:01 AM, Tres Seaver <[EMAIL PROTECTED]> wrote:
> > Hanno Schlichting wrote:
>> Two wrappers compare equal, so the code comparing an AQ wrapper with
>> something different should be the one with the problem. I'd look into
>> Wrapper_compare in _Acquisition.c.
> > Under 2.5, that function isn't even called during the test.  QED.
> It looks as though the only way out is to implement rich comparison
> semantics (Python's 'do_cmp' prefers 'tp_richcompare' to 'tp_compare').

Thanks for those hints. I will try to solve it by trying the above ways
(although I am not much good at C api part at present).

Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to