2.0b2: SystemError: frexp() result out of range

Skip Montanaro skip at pobox.com
Tue Jul 24 13:28:21 EDT 2001


    Anthony> Please, if I were to ask nicely for our local installation of
    Anthony> python to be upgraded, would the bug shown below to go away?

    >>> cPickle.dump(float('inf'), f, 1)
    ...
    SystemError: frexp() result out of range

Yeah, I believe so:

>>> float('inf')
inf
>>> marshal.dumps(float('inf'))
'f\x03inf'
>>> import cPickle
>>> cPickle.dumps(float('inf'))
'Finf\n.'
>>> import sys
>>> print sys.version_info
(2, 1, 1, 'final', 0)

-- 
Skip Montanaro (skip at pobox.com)
http://www.mojam.com/
http://www.musi-cal.com/




More information about the Python-list mailing list