[SciPy-user] Serializing LSQUnivariateSpline?
Tue Jun 16 12:58:08 CDT 2009
On 15-Jun-09, at 4:54 PM, Robert Kern wrote:
> def deserialize(data):
> self = LSQUnivariateSpline.__new__(LSQUnivariateSpline)
> self._data = data
> return self
Ah. Somehow I wasn't aware of the __new__ magic (I was doing something
clumsy by resetting __class__ manually) and without _reset_class() the
whole thing fails. Thanks.
More information about the SciPy-user