[Numpy-discussion] cPickle.loads and Numeric

Alexander Belopolsky ndarray at mac.com
Tue Feb 25 11:41:42 EST 2014


On Tue, Feb 25, 2014 at 11:29 AM, Benjamin Root <ben.root at ou.edu> wrote:

> I seem to recall reading somewhere that pickles are not intended to be
> long-term archives as there is no guarantee that a pickle made in one
> version of python would work in another version, much less between
> different versions of the same (or similar) packages.


That's not true about Python core and stdlib.  Python developers strive to
maintain backward compatibility and any instance of newer python failing to
read older pickles would be considered a bug.  This is even true across 2.x
/ 3.x line.

You mileage with 3rd party packages, especially 10+ years old ones may vary.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20140225/ae4683ab/attachment.html>


More information about the NumPy-Discussion mailing list