Message2055

Author mehendran
Recipients
Date 2008-01-11.14:26:55
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
I am getting error when I use the following code

The code:
class mylong(long):
    pass
print 'Me' in [mylong(12L), 'Me', 45, 'cool']

The above code works in python not in jython.

Error: TypeError: long.__cmp__(x,y) requires y to be 'long', not a 'str'
History
Date User Action Args
2008-02-20 17:18:09adminlinkissue1869347 messages
2008-02-20 17:18:09admincreate