Python 2.4 does not marshal infinity floating point properly under Win32

Grant Edwards grante at visi.com
Thu Nov 30 21:22:04 CET 2006


On 2006-11-30, Pierre Rouleau <prouleau001 at gmail.com> wrote:

> When using Python 2.4.x on a Win32 box,
> marshal.loads(marshal.dumps(1e66666))  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.python/browse_frm/thread/5c2b4b2a88c8df4/f216739705c9304f?lnk=gst&q=simplejson&rnum=5#f216739705c9304f
>
> Is this considered an important enough bug to fix it in Python 2.4?

This must be at least the third thread on this topic so far
this week.  And I didn't start _any_ of them (this week). 

:)

-- 
Grant Edwards                   grante             Yow!  Imagine--a WORLD
                                  at               without POODLES...
                               visi.com            



More information about the Python-list mailing list