Message6468

Author kurtmckee
Recipients kurtmckee
Date 2011-04-05.02:09:00
SpamBayes Score 1.2321278e-08
Marked as misclassified No
Message-id <1301969341.58.0.593087519486.issue1728@psf.upfronthosting.co.za>
In-reply-to
Content
While porting feedparser to Jython (Release_2_5_2:7206) I ran into a problem with some of the unit tests and tracked it down to the following:

class A(dict): pass
A() == dict() # True
[A()] == [dict()] # False, but probably should be True

Wrapping an empty dict and an empty derived dict in a list doesn't seem like the two should compare unequally. I searched for any existing issues and found issue 1804011; this might be related.
History
Date User Action Args
2011-04-05 02:09:01kurtmckeesetrecipients: + kurtmckee
2011-04-05 02:09:01kurtmckeesetmessageid: <1301969341.58.0.593087519486.issue1728@psf.upfronthosting.co.za>
2011-04-05 02:09:01kurtmckeelinkissue1728 messages
2011-04-05 02:09:00kurtmckeecreate