[SciPy-user] Pickling poly1d()

Willi Richert w.richert at gmx.net
Wed Oct 11 05:34:35 CDT 2006


to be able to pickle poly1d instances I had to add __set/getstate__ and remove 
__setattr__ from it. It works now, however, I think there were some good 
reasons for the current version to not provide those methods. Do I now 
involve other problems / side effects with the attached version?

I diff'ed against numpy-0.9.8, but polynomial.py in the newest version 
(1.0rc2) has the same problem.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: polynomial.py.diff
Type: text/x-diff
Size: 414 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/scipy-user/attachments/20061011/f14a977e/attachment.bin 

More information about the SciPy-user mailing list