Addition not commuting there bothers me.  I can see why it's happening: a
SymPy object doesn't call into the coercion system.  One possible solution
is to have coercion map sage objects into sympy, so both s+o and o+s (in
line 134 and 135 of test_sympy.py) would be SymPy objects.  Is SymPy and the
SymbolicRing canonically isomorphic?  Can every SymbolicRing element be cast
into SymPy?
David

On Nov 25, 2007 9:13 PM, Ondrej Certik <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
> I fixed my bad patch, now it passes all tests in 2.8.14:
>
> http://sagetrac.org/sage_trac/ticket/1189
>
> the main patch (also linked from the ticket) in text form browsable over
> web:
>
> http://sagetrac.org/sage_trac/attachment/ticket/1189/sympy2.patch
>
> Could someone familiar with coerce.pyx review it please? It's actually
> a very simple patch, but it could possibly cause troubles later
> (mabshoff knows:).
>
> Thanks a lot,
> Ondrej
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to