[NumPy-Tickets] [NumPy] #1452: pickle memmap'd arrays (patch + tests)

NumPy Trac numpy-tickets@scipy....
Tue May 4 11:04:36 CDT 2010


#1452: pickle memmap'd arrays (patch + tests)
-------------------------+--------------------------------------------------
 Reporter:  brentp       |       Owner:  somebody    
     Type:  enhancement  |      Status:  needs_review
 Priority:  normal       |   Milestone:              
Component:  Other        |     Version:              
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by charris):

 OK, I've attached an updated patch. A few comments:

 1) Neither of the tests worked for python3.1. The test_pickle_offset
 worked when I changed the character array to bytes to avoid string
 problems. However, the __getslice__ trick just doesn't work in python3.1,
 I don't know why yet.

 2) I think more tests are needed, in particular with slices with negative
 and other non-default step sizes.

 3) What happens with multidimensional arrays? The docs say they don't mix
 with offset.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1452#comment:11>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list