#20185: Upgrade to SymPy-1.0
-------------------------------------+-------------------------------------
       Reporter:  rws                |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-7.1
      Component:  packages:          |   Resolution:
  standard                           |    Merged in:
       Keywords:                     |    Reviewers:
        Authors:  Ralf Stephan       |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  03912520043631024635c3d6d09b86743b6c411e
  u/rws/upgrade_to_sympy_1_0         |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by tscrim):

 So it seems the issue is coming from the fact that in 0.7.6.1, we have
 `type(parent(u)) is type` returning `False` before but with 1.0, it is
 `True`. Which, AFAICS, is only involved in `discover_action`, but the
 result is still a `None`.
 {{{
 sage: cm.discover_action(ZZ, parent(u(n)), operator.mul)   # Same in
 0.7.6.1
 }}}
 Although to be fair, I think we should test against `u(n)` since
 parentheses get evaluated before `*`. In that case, I get the same result
 in both versions:
 {{{
 sage: parent(u)
 <class 'sympy.core.function.UndefinedFunction'>
 sage: parent(u(n))
 u
 sage: steps,res = cm.analyse(ZZ, parent(u(n))); steps
 ['Will try _r_action and _l_action']
 }}}

 I'm thinking we will need someone who is much more familiar with the
 coercion framework than I am.

--
Ticket URL: <http://trac.sagemath.org/ticket/20185#comment:19>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to