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

NumPy Trac numpy-tickets@scipy....
Tue May 4 12:04:23 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):

 And here is why getslice fails:


 {{{
 __getslice__(), __setslice__() and __delslice__() were killed. The syntax
 a[i:j]
  now translates to a.__getitem__(slice(i,  j)) (or __setitem__()  or
 __delitem__(),
 when used as an assignment or deletion target, respectively).
 }}}

 So the __getitem__ method inherited from ndarray is being called.

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


More information about the NumPy-Tickets mailing list