[ZODB-Dev] Issue trying to remove elements in OOTreeSet
    César Muñoz 
    xcumail at gmail.com
       
    Fri Sep 24 10:14:34 EDT 2010
    
    
  
I see...
That explains the issue, after implementing the __cmp__ method everything is
now working perfectly.
Thank you again for your help guys, I had been stuck in this for 3 days
already!
César.
2010/9/24 Jim Fulton <jim at zope.com>
> It does.  That's the problem. It would be better if it didn't and
> insertion failed.  The methods it provides are inherited from object
> and compare based on object address, which completely inappropriate
> for persistent objects.
>
> Jim
>
> --
> Jim Fulton
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zodb-dev/attachments/20100924/bf784081/attachment.html 
    
    
More information about the ZODB-Dev
mailing list