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

Anthony J Doggett UG ajd111 at york.ac.uk
Tue Jul 24 12:41:11 EDT 2001


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

What's the best way to get around it?
(Alas, binary mode is a must.)

Thanks,
  Anthony.

> python
Python 2.0b2 (#1, Oct  9 2000, 18:12:36) 
[GCC egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import cPickle
>>> f = open('delme', 'w')
>>> cPickle.dump(float('inf'), f, 1)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
SystemError: frexp() result out of range

-- 
Anthony Doggett
*** Do you want quality or choice? ***



More information about the Python-list mailing list