|
From: dperez <cra...@ya...> - 2007-08-29 08:24:51
|
Solved! Here is the patch I have created: http://sourceforge.net/tracker/index.php?func=detail&aid=1783844&group_id=12867&atid=312867 dperez wrote: > > Hi, > > If I run this code from the Jython 2.2 interactive console : > 'a'.__cmp__('b') > this is what happens: > AttributeError: 'string' object has no attribute '__cmp__' > > This used to work in Jython 2.1. > > I don't understand what this happens, as the PyString class does have this > method: __cmp__() > > Is this a bug? > > Regards, > David > -- View this message in context: http://www.nabble.com/AttributeError%3A-%27string%27-object-has-no-attribute-%27__cmp__%27-tf4346266.html#a12382732 Sent from the jython-users mailing list archive at Nabble.com. |