Re: Python 2.4 does not marshal infinity floating point properly under Win32

2006-11-30 Thread Martin v. Löwis
Pierre Rouleau schrieb: > Is this considered an important enough bug to fix it in Python 2.4? To the contrary - it's not considered a bug at all. Python didn't make any promises about "unregular" floating point values, so things like that just may happen. The fix that made Python offer stronger g

Re: Python 2.4 does not marshal infinity floating point properly under Win32

2006-11-30 Thread Grant Edwards
On 2006-11-30, Pierre Rouleau <[EMAIL PROTECTED]> wrote: > When using Python 2.4.x on a Win32 box, > marshal.loads(marshal.dumps(1e6)) returns 1.0 instead of infinity > as it should and does under Python 2.5 (also running on Win32 ). > > This problem was reported in another thread here by Pet

Python 2.4 does not marshal infinity floating point properly under Win32

2006-11-30 Thread Pierre Rouleau
Hi all, When using Python 2.4.x on a Win32 box, marshal.loads(marshal.dumps(1e6)) returns 1.0 instead of infinity as it should and does under Python 2.5 (also running on Win32 ). This problem was reported in another thread here by Peter Hansen http://groups-beta.google.com/group/comp.lang.py