On Sep 12, 2006, at 2:11 PM, Tim Peters wrote:

[David Binger]
That's interesting.
It appears that pickle protocol 2 chokes on inf.

As above.  BTW, why protocol 2 specifically?  Protocols 1 and 2 treat
floats the same way.

I was thinking that the default protocol is 1, but I see
now that the default is 0.
2.4.2 on OS X can pickle infinity using
protocol 0, but attempts to pickle infinity using protocols
1 or 2 raise a SystemError.

Pickling infinity works fine, just as you say, in 2.5,
using any of the protocols.

Thanks for the explanation.

For more information about ZODB, see the ZODB Wiki:

ZODB-Dev mailing list  -  ZODB-Dev@zope.org

Reply via email to