Re: [Numpy-discussion] cPickle.loads and Numeric

2014-02-25 Thread Raul Cota
Robert is right, you can always implement your own function. What version of numpy and Python are you using ? There may be something you can add to your numpy installation related to the old Numeric support which I believe is now deprecated. Raul On 25/02/2014 4:28 AM, Robert Kern wrote: >

Re: [Numpy-discussion] cPickle.loads and Numeric

2014-02-25 Thread Jonathan T. Niehof
On 02/25/2014 09:41 AM, Alexander Belopolsky wrote: > 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.

Re: [Numpy-discussion] cPickle.loads and Numeric

2014-02-25 Thread Peter Cock
On Tue, Feb 25, 2014 at 4:41 PM, Alexander Belopolsky wrote: > > On Tue, Feb 25, 2014 at 11:29 AM, Benjamin Root 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

Re: [Numpy-discussion] cPickle.loads and Numeric

2014-02-25 Thread Julian Taylor
On Tue, Feb 25, 2014 at 5:41 PM, Alexander Belopolsky wrote: > > On Tue, Feb 25, 2014 at 11:29 AM, Benjamin Root 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

Re: [Numpy-discussion] cPickle.loads and Numeric

2014-02-25 Thread Alexander Belopolsky
On Tue, Feb 25, 2014 at 11:29 AM, Benjamin Root 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

Re: [Numpy-discussion] cPickle.loads and Numeric

2014-02-25 Thread Benjamin Root
Just to echo this sentiment a bit. 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. B

Re: [Numpy-discussion] cPickle.loads and Numeric

2014-02-25 Thread Robert Kern
On Tue, Feb 25, 2014 at 8:19 AM, Chris wrote: > I have some old code that uses cPickle.loads which used to work, but now > reports an error in loading the module Numeric. Since Numeric has been > replaced by numpy, this makes sense, but, how can I get cPickle.loads to > work? I tested the code aga

Re: [Numpy-discussion] cPickle.loads and Numeric

2014-02-25 Thread Pierre Haessig
Hi, Le 25/02/2014 09:19, Chris a écrit : > I have some old code that uses cPickle.loads which used to work, but now > reports an error in loading the module Numeric. Since Numeric has been > replaced by numpy, this makes sense, but, how can I get cPickle.loads to > work? I tested the code again on

[Numpy-discussion] cPickle.loads and Numeric

2014-02-25 Thread Chris
I have some old code that uses cPickle.loads which used to work, but now reports an error in loading the module Numeric. Since Numeric has been replaced by numpy, this makes sense, but, how can I get cPickle.loads to work? I tested the code again on an older machine and it works fine there, but, I'