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

NumPy Trac numpy-tickets@scipy....
Wed May 5 21:02:15 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):

 Using getitem is the way to go since python 2.0. I'm a bit worried about
 shadowing the method inherited from ndarray, you want to make sure that
 the functionality doesn't change. Note that getslice is also defined for
 ndarrays and I'm not sure what precedence they have.

 I think it best to raise an error whenever the pickle is going to fail. I
 don't know how far you can push it, though. Non-contiguous arrays/views
 might also be a problem unless you want to do a lot more work.

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


More information about the NumPy-Tickets mailing list