From: Kurt M. <re...@bu...> - 2011-04-05 02:09:08
|
New submission from Kurt McKee <con...@ku...>: 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. ---------- components: Core messages: 6468 nosy: kurtmckee severity: normal status: open title: comparing dict and derived dict in a list _______________________________________ Jython tracker <re...@bu...> <http://bugs.jython.org/issue1728> _______________________________________ |