[Scipy-tickets] [SciPy] #1784: Rbf interpolation class is not pickleable thus prevents multiprocessing

SciPy Trac scipy-tickets@scipy....
Sun Dec 2 06:46:52 CST 2012


#1784: Rbf interpolation class is not pickleable thus prevents multiprocessing
-------------------------------------------------------+--------------------
 Reporter:  shaharyi                                   |       Owner:  somebody   
     Type:  enhancement                                |      Status:  needs_work 
 Priority:  normal                                     |   Milestone:  Unscheduled
Component:  scipy.interpolate                          |     Version:  0.11.0     
 Keywords:  rbf multiprocessing piclkable unpicklable  |  
-------------------------------------------------------+--------------------
Changes (by rgommers):

  * status:  needs_review => needs_work


Comment:

 That Rbf even accepts a nodes kw input is an accidental by-product of
 defining {{{__init__}}} with {{{*args, **kwargs}}}, so this doesn't look
 like a very clean solution.

 If you want Rbf to support pickling without recalculating {{{nodes}}} (and
 {{{A}}} I suppose), I think adding explicit support via {{{__getstate__}}}
 / {{{__setstate__}}} would be better.

 Either way a test is needed for this.

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1784#comment:3>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list