Re: [Numpy-discussion] cPickle/unPickle across archs

2010-01-07 Thread Robert Kern
On Thu, Jan 7, 2010 at 15:54, James Mazer wrote: > Hi, > > I've got a some Numeric arrays that were created without > an explicit byte size in the initial declaration and pickled. > Something like this: > >   >>> cPickle.write(array(ones((3,3,)), 'f'), open('foo.pic', 'w')) > > as opposed to: > >

[Numpy-discussion] cPickle/unPickle across archs

2010-01-07 Thread James Mazer
Hi, I've got a some Numeric arrays that were created without an explicit byte size in the initial declaration and pickled. Something like this: >>> cPickle.write(array(ones((3,3,)), 'f'), open('foo.pic', 'w')) as opposed to: >>> cPickle.write(array(ones((3,3,)), Float32), open('foo.pic',