Re: [Twisted-Python] Some "spread" objects and comparison semantics

2011-05-12 Thread Glyph Lefkowitz
On May 11, 2011, at 1:05 PM, exar...@twistedmatrix.com wrote: > I doubt anyone remembers the rationale for these methods. We should err > on the safe side and preserve the existing behavior. I should point out that this isn't erring, technically, according to

Re: [Twisted-Python] Some "spread" objects and comparison semantics

2011-05-11 Thread Facundo Batista
On Wed, May 11, 2011 at 2:05 PM, wrote: > I doubt anyone remembers the rationale for these methods.  We should err > on the safe side and preserve the existing behavior. Ok, I'll add tests to check this also. -- .    Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.or

Re: [Twisted-Python] Some "spread" objects and comparison semantics

2011-05-11 Thread exarkun
On 10 May, 06:51 pm, facundobati...@gmail.com wrote: >I'm analysing the code in twisted/spread/flavors.py and >twisted/spread/pb.py, trying to remove the __cmp__ and cmp() in >RemoteCache, RemoteCacheMethod and RemoteCacheObserver classes. > >They all have __cmp__ methods, but as there is not any t

[Twisted-Python] Some "spread" objects and comparison semantics

2011-05-10 Thread Facundo Batista
I'm analysing the code in twisted/spread/flavors.py and twisted/spread/pb.py, trying to remove the __cmp__ and cmp() in RemoteCache, RemoteCacheMethod and RemoteCacheObserver classes. They all have __cmp__ methods, but as there is not any test for these, and it's not specified in the documentation