Message2857

Author cgroves
Recipients
Date 2007-08-30.07:17:08
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
This actually isn't a bug.  Python added rich comparison methods(__eq__, __gt__, __le__ and so on) in 2.1, and Jython's str uses those in 2.2 instead of __cmp__.  CPython exhibits the same behavior.  You can get equivalent functionality to __cmp__ with the builtin cmp function: cmp('a', 'b')
History
Date User Action Args
2008-02-20 17:18:48adminlinkissue1783844 messages
2008-02-20 17:18:48admincreate