#4102: make bessel_J symbolic
----------------------------------+-----------------------------------------
Reporter: jwmerrill | Owner: burcin
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.9
Component: calculus | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers: Karl-Dieter Crisman
Authors: Benjamin Jones | Merged in:
Dependencies: | Stopgaps:
----------------------------------+-----------------------------------------
Comment (by benjaminfjones):
I spent some time today thinking about the deprecation issue. Here's my
summary:
The current patches introduce two API changes. First, the new `bessel_I,
bessel_J, etc` functions take two positional arguments whereas the old
ones take 2 positional arguments and two optional keyword arguments
(`algorithm` and `prec`). The second API change is the same change in
arguments, but to the constructor `Bessel`.
I can add deprecation warnings to the `Bessel` constructor easily and have
it call the old `bessel_?` functions during the deprecation period. On the
other hand, I don't know how to implement deprecation for the old
`bessel_?` functions. I can imagine trying to override `BuiltinFunction`'s
call method, or turning the new `bessel_?` functions into wrappers which
call the new ones if two arguments are used, and give a deprecation
warning and call the old versions if more than 2 arguments are given.
----
I can:
1. try to implement the deprecation
2. ask on sage-devel for a waiver from the deprecation policy in this case
3. other?
What say you all?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4102#comment:29>
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.