I am have been looking into the many errors reported in trac #6318
(http://trac.sagemath.org/sage_trac/ticket/6318). Most seem to be due
to only one problem, namely passing Sage symbolic expressions. This
has been mentioned elsewhere: 
http://groups.google.com/group/sage-devel/browse_thread/thread/7e3b729d6bb58a36#


A fricas specific thing seems to cause two errors. The returned type
is different in fricas than from axiom in some cases.

example 1:
sage: a = axiom('Fraction Integer')
sage: print a
Fraction Integer

sage: b = fricas('Fraction Integer')
sage: print b
Fraction(Integer)

When the type is one word like 'Integer' they give the same string.

example 2:
sage: two = fricas(2)
sage: two.comma(3)
[2,3]
sage: two.comma(3,4)
[2,3,4]
sage: _.type()
Tuple(PositiveInteger)   <========    expected result is Tuple
PositiveInteger

There is a specific line in the type() method of
axiom.PanAxiomElement that evaluates self.name() and receives a string
from axiom or fricas which contains the type information. I am
guessing that it is also used to make the print string. The change
breaks the tests. Is the change intentional or accidental? Someone
from fricas will have to say.

I hope this helps.

Cheers,
Adam
--~--~---------~--~----~------------~-------~--~----~
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://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to