Updates:
Cc: ronan.l...@gmail.com matt...@gmail.com
Labels: -Priority-Medium Priority-High Live Milestone-Release0.7.2
Comment #5 on issue 1198 by asmeurer: pickle does not work for Function
http://code.google.com/p/sympy/issues/detail?id=1198
Ronan, any idea how to fix this? I think Robert's right. We have to make
Function() not return a class. The above hack does work if you pickle from
within a file (you have to adjust the argument of _getframe() to get to the
module where the Function lives), but not interactively. Otherwise, pickle
tries to import obj.__module__, which I don't think can be anything
interactively. And it does seem to do this before handling any kind of
__getstate__; defining one on the UndefinedFunction does nothing.
And by the way, Mateusz, for SymPy Live, I think Chris's idea would be
better than what we currently do (basically recreating things from strings
from what you told me).
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.