Binary pickle portability

David Ascher da at ski.org
Sun Jul 11 13:16:38 EDT 1999


On Fri, 9 Jul 1999, Olaf Delgado wrote:

> On Wed, 7 Jul 1999, David Ascher wrote:
> 
> > There is a bug in pickling of NumPy arrays, which I expect will be fixed
> > in the next release.  Binary pickles works across byte-order and byte-size
> > platforms (when it's bug-free =).
> 
> Thank you for the information! It's a bit painful to have to convert the
> arrays back and forth right now, but good to know that it's not my fault.
> 
> I am not sure I understand what you mean by byte-order and byte-size
> platforms. What's a counterexample?

My statement was terribly worded.  What I meant was that binary pickles
can be transferred between platforms which have different byte ordering
(LSB vs MSB) and between platforms which have different word size (32 bits
vs 64 bits).

--david





More information about the Python-list mailing list