[ZODB-Dev] Problem Storing Infinity

Jim Fulton jim at zope.com
Tue Sep 12 12:02:10 EDT 2006


On Sep 12, 2006, at 11:55 AM, David Binger wrote:

> That's interesting.
> It appears that pickle protocol 2 chokes on inf.
>
> ->> from cPickle import dumps
> ->> dumps(1e9999999999999)
> 'Finf\n.'
> ->> dumps(1e9999999999999, 2)
> Traceback (most recent call last):
>   File "<input>", line 2, in ?
> SystemError: frexp() result out of range
> ->>

Yeah, especially because I didn't realize we were using protocol 2 yet.

Jim

--
Jim Fulton			mailto:jim at zope.com		Python Powered!
CTO 				(540) 361-1714			http://www.python.org
Zope Corporation	http://www.zope.com		http://www.zope.org





More information about the ZODB-Dev mailing list