Hi, We are upgrading sympy in sage from 0.7.1 to 0.7.3 at http://trac.sagemath.org/ticket/14694 And we face a small hurdle. One of the tests fails with: sage -t devel/sage/sage/symbolic/integration/integral.py ********************************************************************** File "devel/sage/sage/symbolic/integration/integral.py", line 474, in sage.symbolic.integration.integral.integrate Failed example: (x^y-z).integrate(y,algorithm="sympy") Exception raised: Traceback (most recent call last): File "/mazur/release/merger/sage-5.12.beta4/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 479, in _run self.execute(example, compiled, test.globs) File "/mazur/release/merger/sage-5.12.beta4/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 838, in execute exec compiled in globs File "<doctest sage.symbolic.integration.integral.integrate[41]>", line 1, in <module> (x**y-z).integrate(y,algorithm="sympy") File "expression.pyx", line 9759, in sage.symbolic.expression.Expression.integral (sage/symbolic/expression.cpp:40828) File "/mazur/release/merger/sage-5.12.beta4/local/lib/python2.7/site-packages/sage/symbolic/integration/integral.py", line 683, in integrate return integrator(expression, v, a, b) File "/mazur/release/merger/sage-5.12.beta4/local/lib/python2.7/site-packages/sage/symbolic/integration/external.py", line 39, in sympy_integrator return result._sage_() File "/mazur/release/merger/sage-5.12.beta4/local/lib/python2.7/site-packages/sympy/core/add.py", line 721, in _sage_ s += x._sage_() AttributeError: 'Piecewise' object has no attribute '_sage_'
It was working with sympy 0.7.2 (because sage-on-gentoo had moved on to 0.7.2 separately) But it looks like the _sage_ attribute has been removed in 0.7.3. Is this a bug or code waiting for removal and we should use something else? Francois -- You received this message because you are subscribed to the Google Groups "sympy" 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/sympy. For more options, visit https://groups.google.com/groups/opt_out.
