2010/8/3 "Martin v. Löwis" <martin at v.loewis.de>: .. > I think there are many other instances where values that compare equal > pickle differently in Python. Indeed. For example: >>> 1.0 == 1 True >>> dumps(1.0) == dumps(1) False or for objects of the same type >>> 0.0 == -0.0 True >>> dumps(0.0) == dumps(-0.0) False