2010/8/3 "Martin v. Löwis" <mar...@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 _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com