#17790: convert not coerce padics symbolic function arguments
-------------------------------------+-------------------------------------
Reporter: rws | Owner:
Type: defect | Status: needs_work
Priority: major | Milestone: sage-6.7
Component: symbolics | Resolution:
Keywords: | Merged in:
Authors: Ralf Stephan | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
u/rws/builtinfunction_doesn_t_pass_non_sr_coercible_arguments_to_function_code|
f6e21137f97771b916ceae7f16a59805af78291f
Dependencies: | Stopgaps:
-------------------------------------+-------------------------------------
Comment (by rws):
@Jeroen, what reason is there in the respective snippet of
`Function::__call__` l.478-491 not to do the following:
{{{
nargs = [None]*len(args)
for i in range(len(args)):
carg = args[i]
try:
nargs[i] = SR.coerce(carg)
except Exception:
nargs[i] = SR(carg)
}}}
i.e. not throwing at all. I keep needing exceptions like the `Qp` of this
ticket.
Do we have a fundamental problem here? Why can `rings.arith...` handle
this differently?
--
Ticket URL: <http://trac.sagemath.org/ticket/17790#comment:5>
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.