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 <j...@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
>
_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to