Binary pickle portability

Olaf Delgado delgado at Mathematik.Uni-Bielefeld.DE
Tue Jun 29 13:01:35 EDT 1999


Hi folks!

Lately I observed strange things when trying to unpickle a binary pickle
(including floating point numbers) produced on a different architecture.
The Python versions involved were 1.5.1 and 1.5.2, the systems Irix 5
on Mips and Linux on Intel x86.

Explanations I can think of:

a) An incompatibility of binary pickles between 1.5.1 and 1.5.2
b) Pickle stores floats in native format.
c) A problem in my installations.

Any hints? Should binary pickles be avoided when sharing files between
different systems/installations?

Thanks!
Olaf






More information about the Python-list mailing list