A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2010-August/102785.html below:

[Python-Dev] pickle output not unique

[Python-Dev] pickle output not unique [Python-Dev] pickle output not uniqueAlexander Belopolsky alexander.belopolsky at gmail.com
Wed Aug 4 00:04:32 CEST 2010
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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4