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

NumPy Trac numpy-tickets@scipy....
Mon May 3 19:03: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:               |  
-------------------------+--------------------------------------------------
Changes (by brentp):

  * type:  defect => enhancement


Comment:

 i had a look at this. i think __setstate__ would have to simply re-
 implement the logic in __new__ without any additional benefit. for the
 polynomial class, it makes more sense since you can just set the object's
 __dict__ directly.

 i did separate out so __reduce__ now calls __getstate__ .
 new patch attached.

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


More information about the NumPy-Tickets mailing list