#11919: Issue when pickling a formal function
-------------------------+--------------------------------------------------
Reporter: cdsousa | Owner: burcin
Type: defect | Status: new
Priority: minor | Milestone: sage-5.0
Component: symbolics | Keywords: pynac, pickling
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
-------------------------+--------------------------------------------------
Comment(by mjo):
Okay, this broke with #9240. I can fix it with a one-line change in
4.7.1.alpha4:
{{{
diff --git a/sage/symbolic/function.pyx b/sage/symbolic/function.pyx
--- a/sage/symbolic/function.pyx
+++ b/sage/symbolic/function.pyx
@@ -127,6 +127,7 @@
cdef _register_function(self):
cdef GFunctionOpt opt
opt = g_function_options_args(self._name, self._nargs)
+ opt.set_python_func()
if hasattr(self, '_eval_'):
opt.eval_func(self)
}}}
But there's no longer a `set_python_func()` method on GFunctionOpt, so I
don't know how to fix it in 5.0.beta7. The adventure continues...
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11919#comment:8>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.