#17531: allow algorithm keyword when calling BuiltinFunction
--------------------------------------+------------------------
       Reporter:  rws                 |        Owner:
           Type:  enhancement         |       Status:  new
       Priority:  major               |    Milestone:  sage-6.5
      Component:  symbolics           |   Resolution:
       Keywords:  symbolic functions  |    Merged in:
        Authors:                      |    Reviewers:
Report Upstream:  N/A                 |  Work issues:
         Branch:                      |       Commit:
   Dependencies:                      |     Stopgaps:
--------------------------------------+------------------------

Comment (by rws):

 Is there something missing in the example?
 {{{
 sage: f(x)
 Traceback (most recent call last):
   File "<ipython-input-10-963bfc488912>", line 1, in <module>
     f(x)
   File "sage/symbolic/function.pyx", line 942, in
 sage.symbolic.function.BuiltinFunction.__init__
 (build/cythonized/sage/symbolic/function.cpp:9902)
     Function.__init__(self, name, nargs, latex_name, conversions,
   File "sage/symbolic/function.pyx", line 110, in
 sage.symbolic.function.Function.__init__
 (build/cythonized/sage/symbolic/function.cpp:3655)
     if not self._is_registered():
   File "sage/symbolic/function.pyx", line 1042, in
 sage.symbolic.function.BuiltinFunction._is_registered
 (build/cythonized/sage/symbolic/function.cpp:10966)
     try:
 TypeError: expected string or Unicode object,
 sage.symbolic.expression.Expression found
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/17531#comment:2>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to