#4036: [with patch, positive review] minor improvements to the Axiom interface
-------------------------+--------------------------------------------------
Reporter: mhansen | Owner: was
Type: enhancement | Status: new
Priority: minor | Milestone: sage-3.1.3
Component: interfaces | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by mabshoff):
This patch introduces the following problem:
{{{
**********************************************************************
File "/scratch/mabshoff/release-cycle/sage-3.1.2.rc4/tmp/parent.py", line
13:
sage: gp(2) + gap(3)
Exception raised:
Traceback (most recent call last):
File "/scratch/mabshoff/release-
cycle/sage-3.1.2.rc4/local/lib/python2.5/doctest.py", line 1228, in __run
compileflags, 1) in test.globs
File "<doctest __main__.example_0[2]>", line 1, in <module>
gp(Integer(2)) + gap(Integer(3))###line 13:
sage: gp(2) + gap(3)
File "element.pyx", line 718, in
sage.structure.element.ModuleElement.__add__
(sage/structure/element.c:5748)
return coercion_model.bin_op(left, right, add)
File "coerce.pyx", line 662, in
sage.structure.coerce.CoercionModel_cache_maps.bin_op
(sage/structure/coerce.c:6364)
raise TypeError, arith_error_message(x,y,op)
TypeError: unsupported operand parent(s) for '+': 'GP/PARI
interpreter' and 'Gap'
**********************************************************************
}}}
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4036#comment:3>
SAGE <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
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-trac?hl=en
-~----------~----~----~----~------~----~------~--~---