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

Leo Soto M. leo.soto at gmail.com
Tue Aug 5 22:56:27 CEST 2008


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__

-- 
Leo Soto M.
http://blog.leosoto.com


More information about the Python-Dev mailing list