#16023: remove deprecated code in functions/ and symbolic/
-------------------------------------+-------------------------------------
       Reporter:  rws                |        Owner:
           Type:  task               |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.4
      Component:  symbolics          |   Resolution:
       Keywords:  deprecation        |    Merged in:
        Authors:  Ralf Stephan       |    Reviewers:  Burcin Erocal, Karl-
Report Upstream:  N/A                |  Dieter Crisman
         Branch:                     |  Work issues:
  u/rws/ticket/16023                 |       Commit:
   Dependencies:                     |  489c5a1d1e1a3e700f62062a94f8190a4ade296e
                                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by kcrisman):

 > * In other.py, in the `__call__` method for gamma, there is still an
 import of deprecation which is now not needed.
 Still needed, I believe.
 > * [comment:7:ticket:7490 This comment] suggests that perhaps
 > {{{
 > sage: Q.<i> = NumberField(x^2+1)
 > sage: gamma(i)
 > }}}
 >   should not work at all.  So either we should confirm it raises an
 error, check what "should" happen, or make it break...
 Given that `e^i`, `ln(i)`, and `sqrt(i)` all fail in this case for various
 reasons related to embedding, maybe this should really be broken now.
 Since
 {{{
             if not str(err).startswith("cannot coerce"):
                 raise
 }}}
 suggests that this is the only kind of error we treat, and then we just
 plop it in RR or CC as we can, I suppose we could remove that entire thing
 and do
 {{{
 return GinacFunction.__call__(self, x, coerce=coerce, hold=hold)
 }}}
 as the entire body of call or even remove it.  What do you think?

--
Ticket URL: <http://trac.sagemath.org/ticket/16023#comment:24>
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