[SciPy-user] Pickling poly1d()

Willi Richert w.richert at gmx.net
Wed Oct 11 06:34:35 EDT 2006


Hi,

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.

Regards,
wr

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


More information about the SciPy-User mailing list