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:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to