Message5942

Author zyasoft
Recipients doublep, rjolivet, zyasoft
Date 2010-08-06.05:40:37
SpamBayes Score 0.07872242
Marked as misclassified No
Message-id <1281073238.8.0.174327422324.issue1627@psf.upfronthosting.co.za>
In-reply-to
Content
Current behavior seems reasonable enough to me. From http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html#equals(java.lang.Object) :

"For any non-null reference value x, x.equals(null) should return false."

Given that the Java value of Jython's None is defined to be null, this is the correct behavior. Also, as doublep points out in msg5873, you normally want to use 'is None', this will be less surprising.
History
Date User Action Args
2010-08-06 05:40:38zyasoftsetmessageid: <1281073238.8.0.174327422324.issue1627@psf.upfronthosting.co.za>
2010-08-06 05:40:38zyasoftsetrecipients: + zyasoft, doublep, rjolivet
2010-08-06 05:40:38zyasoftlinkissue1627 messages
2010-08-06 05:40:37zyasoftcreate