[EMAIL PROTECTED] wrote:

> Unpickling an infinite float caused a ValueError in the pickle module.
> I need to pickle and load infinite floats in my project. Do you have
> any suggestions how to solve the issue?

You could try another protocol. Does

>>> inf = 1e1000
>>> pickle.loads(pickle.dumps(inf, pickle.HIGHEST_PROTOCOL))
inf

work? 

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

Reply via email to