Re: [Python-Dev] marshal / unmarshal

2005-04-21 Thread Michael Hudson
Scott David Daniels <[EMAIL PROTECTED]> writes: > What should marshal / unmarshal do with floating point NaNs (the case we > are worrying about is Infinity) ? The current behavior is not perfect. So, after a fair bit of hacking, I think I have most of a solution to this, in two patches: make

Re: [Python-Dev] marshal / unmarshal

2005-04-08 Thread Tim Peters
[Scott David Daniels] > What should marshal / unmarshal do with floating point NaNs (the case we > are worrying about is Infinity) ? The current behavior is not perfect. All Python behavior in the presence of a NaN, infinity, or signed zero is a platform-dependent accident. This is because C89 h

[Python-Dev] marshal / unmarshal

2005-04-08 Thread Scott David Daniels
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(1e1) == 'f\x061.#INF' marshal.loads('f\x061.#INF') == 1.0 S