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/2005-April/052593.html below:

[Python-Dev] marshal

[Python-Dev] marshal / unmarshal [Python-Dev] marshal / unmarshalScott David Daniels Scott.Daniels at Acm.Org
Sat Apr 9 01:15:39 CEST 2005
What should marshal / unmarshal do with floating point NaNs (the case we
are worrying about is Infinity) ?  The current behavior is not perfect.

Michael Spencer chased down a supposed "Idle" problem to (on Win2k):
     marshal.dumps(1e10000) == 'f\x061.#INF'
     marshal.loads('f\x061.#INF') == 1.0

Should loads raise an exception?
Somehow, I thing 1.0 is not the best possible representation for +Inf.

-- Scott David Daniels
Scott.Daniels at Acm.Org

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