Re: [Python-Dev] On __cmp__ specifications and implementation (to mimic it on Jython)

2008-08-06 Thread Leo Soto M.
On Tue, Aug 5, 2008 at 10:46 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On Tue, Aug 5, 2008 at 5:56 PM, Leo Soto M. <[EMAIL PROTECTED]> wrote: > > But that's going to be easier if I understand the "why" and not only > > the "how". I can live with a "no idea why" answer, though. > > Close --

Re: [Python-Dev] On __cmp__ specifications and implementation (to mimic it on Jython)

2008-08-05 Thread Guido van Rossum
On Tue, Aug 5, 2008 at 5:56 PM, Leo Soto M. <[EMAIL PROTECTED]> wrote: > On Tue, Aug 5, 2008 at 4:59 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: >> On Tue, Aug 5, 2008 at 1:56 PM, Leo Soto M. <[EMAIL PROTECTED]> wrote: >>> On Tue, Aug 5, 2008 at 4:45 PM, Guido van Rossum <[EMAIL PROTECTED]> wro

Re: [Python-Dev] On __cmp__ specifications and implementation (to mimic it on Jython)

2008-08-05 Thread Leo Soto M.
On Tue, Aug 5, 2008 at 4:59 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On Tue, Aug 5, 2008 at 1:56 PM, Leo Soto M. <[EMAIL PROTECTED]> wrote: >> On Tue, Aug 5, 2008 at 4:45 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: >>> Given that in Python 3.0 __cmp__ is going away, I'm not sure how mu

Re: [Python-Dev] On __cmp__ specifications and implementation (to mimic it on Jython)

2008-08-05 Thread Guido van Rossum
On Tue, Aug 5, 2008 at 1:56 PM, Leo Soto M. <[EMAIL PROTECTED]> wrote: > On Tue, Aug 5, 2008 at 4:45 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: >> Given that in Python 3.0 __cmp__ is going away, I'm not sure how much >> it all matters -- but if you care, as long as it's supported at all, >> yo

Re: [Python-Dev] On __cmp__ specifications and implementation (to mimic it on Jython)

2008-08-05 Thread Leo Soto M.
On Tue, Aug 5, 2008 at 4:45 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > Given that in Python 3.0 __cmp__ is going away, I'm not sure how much > it all matters -- but if you care, as long as it's supported at all, > you might as well strive for the most compatibility with 2.5... Sure, it won'

Re: [Python-Dev] On __cmp__ specifications and implementation (to mimic it on Jython)

2008-08-05 Thread Guido van Rossum
Given that in Python 3.0 __cmp__ is going away, I'm not sure how much it all matters -- but if you care, as long as it's supported at all, you might as well strive for the most compatibility with 2.5... On Tue, Aug 5, 2008 at 1:43 PM, Leo Soto M. <[EMAIL PROTECTED]> wrote: > Hi Python developers!

[Python-Dev] On __cmp__ specifications and implementation (to mimic it on Jython)

2008-08-05 Thread Leo Soto M.
Hi Python developers! First, a quick introduction: My name is Leonardo Soto, I'm a GSoC 2008 student working under PSF and the Jython project, and a Jython commiter since one month ago. As part of what I did on this GSoC, I've improved Jython's __cmp__ a bit. That made me go to look at CPython s