ValueError: invalid literal for float(): -1.#IND (pickle.py)

Alexander Eisenhuth newsuser at stacom-software.de
Wed Jul 14 05:48:52 EDT 2010


Mark Dickinson schrieb:

> 
>> BTW: I'm tied to version 2.5 of python
> 
> Have you tried using pickle protocol 1 or 2, instead of pickle
> protocol 0?  That may well solve your  problem.  (Those
> protocols write out the binary form of a float directly, instead
> of reading and writing a string representation.)
> 

Thanks a lot, it looks like it solves the problem using another version of the 
protocol

Regards



More information about the Python-list mailing list