[Numpy-discussion] Pickle complete (new ideas for Python arrays)

Travis Oliphant oliphant at ee.byu.edu
Wed Mar 30 15:34:45 CST 2005


Hi all,

Pickling is now implemented for scipy.base (was calling it Numeric3)

Anybody wanting to tackle a function to read old Numeric and/or numarray 
pickles is welcome.  I think this could be all in Python.  Ideally, we 
should be able to read these pickles without having those packages 
installed.  

I think the PEP for Python should be converted to a bare-bones protocol 
(e.g. the one that is emerging)

Optionally we could create a very simple default arrayobject for Python 
that just has a default pickle implementation and knows how to get data 
through the buffer interface from other objects).  

That way any array implementation just has to talk the Python array 
protocol to be interoperable with any other array implementation.

-Travis











More information about the Numpy-discussion mailing list