[Python-Dev] On __cmp__ specifications and implementation (to mimic it on Jython)
Guido van Rossum
guido at python.org
Tue Aug 5 22:59:22 CEST 2008
On Tue, Aug 5, 2008 at 1:56 PM, Leo Soto M. <leo.soto at gmail.com> wrote:
> On Tue, Aug 5, 2008 at 4:45 PM, Guido van Rossum <guido at python.org> 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't be a problem on Jython 3.0. But I'm doing this for the
> upcoming Jython 2.5, where we still have to live with __cmp__
Which is why I recommend the closest possible compatibility. :-)
> --
> Leo Soto M.
> http://blog.leosoto.com
>
--
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev
mailing list