[NumPy-Tickets] [NumPy] #1897: Pickling a numpy.ma.MaskedConstant fails

NumPy Trac numpy-tickets@scipy....
Mon May 7 14:50:46 CDT 2012


#1897: Pickling a numpy.ma.MaskedConstant fails
----------------------+-----------------------------------------------------
 Reporter:  jpaalasm  |       Owner:  pierregm    
     Type:  defect    |      Status:  needs_review
 Priority:  high      |   Milestone:  Unscheduled 
Component:  numpy.ma  |     Version:  1.6.1       
 Keywords:            |  
----------------------+-----------------------------------------------------
Changes (by AnthonyFloyd):

  * status:  new => needs_review


Comment:

 Our work-around was to add

 {{{
 _fill_value = fill_value = None
 }}}

 to the !MaskedConstant class definition. See attached trivial patch.

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


More information about the NumPy-Tickets mailing list