#17531: allow algorithm keyword when calling BuiltinFunction
-------------------------------------+-------------------------------------
Reporter: rws | Owner:
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-6.5
Component: symbolics | Resolution:
Keywords: symbolic | Merged in:
functions | Reviewers:
Authors: Ralf Stephan | Work issues:
Report Upstream: N/A | Commit:
Branch: | d8f09d0fec7e08d234b6154b5065cab1d3c1ad89
u/rws/allow_algorithm_keyword_when_calling_builtinfunction| Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by rws):
Replying to [comment:22 jdemeyer]:
> I would put this
> {{{
> algorithm = kwds.get('algorithm')
> if algorithm is not None and algorithm != "ginac":
> raise ValueError("unknown algorithm %r for %s"%(algorithm,self))
> }}}
> right before calling Ginac (towards the end of `Function.__call__`).
But when you do `sin(x,algorithm='foo')` the `Function.__call__` doesn't
even get called so no error is thrown.
--
Ticket URL: <http://trac.sagemath.org/ticket/17531#comment:23>
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.