Hello together,

python: 2.5.1
palttform: winXP

I'm using pickle.dump and pickle.load with data that is created in a wrapped (boost.python) piece of C++ code. pickle.dump works fine. pickle.load creates the following exception:

[...]
    data = pickle.load(input)
  File "C:\Python25\lib\pickle.py", line 1370, in load
    return Unpickler(file).load()
  File "C:\Python25\lib\pickle.py", line 858, in load
    dispatch[key](self)
  File "C:\Python25\lib\pickle.py", line 954, in load_float
    self.append(float(self.readline()[:-1]))
ValueError: invalid literal for float(): -1.#IND

- I'm not sure what -1.#IND means. Can somebody assist?

- As pickle write the data I'm a bit confused, that is can't be unpickled it. Is that a bug or a feature?

BTW: I'm tied to version 2.5 of python

Thank and regards
Alexander


--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to