Hello Marius,
thank you so much for your quick answer! I'll give it a try implementing
these methods and will get back to you with the result.
But anyway, the Chatroom class is inheriting from Persistent, I thought this
base class provided some basic comparison methods...
2010/9/23 Marius
On Fri, Sep 24, 2010 at 4:17 AM, César Muñoz xcum...@gmail.com wrote:
Hello Marius,
thank you so much for your quick answer! I'll give it a try implementing
these methods and will get back to you with the result.
But anyway, the Chatroom class is inheriting from Persistent, I thought this
On 09/24/2010 07:03 AM, Jim Fulton wrote:
On Fri, Sep 24, 2010 at 4:17 AM, César Muñozxcum...@gmail.com wrote:
Hello Marius,
thank you so much for your quick answer! I'll give it a try implementing
these methods and will get back to you with the result.
But anyway, the Chatroom class is
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
On Fri, Sep 24, 2010 at 9:27 AM, Shane Hathaway sh...@hathawaymix.org wrote:
On 09/24/2010 07:03 AM, Jim Fulton wrote:
On Fri, Sep 24, 2010 at 4:17 AM, César Muñozxcum...@gmail.com wrote:
Hello Marius,
thank you so much for your quick answer! I'll give it a try implementing
these methods
On Fri, Sep 24, 2010 at 04:14:34PM +0200, César Muñoz wrote:
I see...
That explains the issue, after implementing the __cmp__ method everything is
now working perfectly.
Just note that if you have any valuable preexisting data, it may have
been stored incorrectly, using the old default __cmp__
On Fri, Sep 24, 2010 at 11:09:58AM -0400, Jim Fulton wrote:
I wasn't proposing to change anything. :) Breaking inheritance to avoid
inheriting a bad cmp seems rather too tricky. (I assume there isn't
a default comparison in Python 3, although I haven't checked.)
I suppose that the BTree