#5962: Comparison in the Gap interface raises an error
--------------------------+-------------------------------------------------
   Reporter:  SimonKing   |       Owner:  was           
       Type:  defect      |      Status:  needs_review  
   Priority:  major       |   Milestone:  sage-4.5      
  Component:  interfaces  |    Keywords:  gap comparison
     Author:  Simon King  |    Upstream:  N/A           
   Reviewer:              |      Merged:                
Work_issues:              |  
--------------------------+-------------------------------------------------
Changes (by newvalueoldvalue):

  * status:  new => needs_review
  * upstream:  => N/A
  * author:  => Simon King


Comment:

 I see no way for a really satisfying solution, as long as GAP can not even
 compare two objects whose definitions are identical.

 However, the errors being raised by GAP when comparing elements are now
 caught in a try-except clause. We have, as doc tests:
 {{{
 sage: gap('DihedralGroup(8)')==gap('DihedralGroup(8)')
 False    # sorry, this is what GAP claims.
 sage: gap('SymmetricGroup(8)')<gap('AlternatingGroup(8)')
 True
 sage: gap('SymmetricGroup(8)')>gap('AlternatingGroup(8)')
 False
 sage: gap('SymmetricGroup(8)')==gap('SymmetricGroup(8)')
 True
 }}}

 All but the first of these examples worked before. But the first resulted
 in an error, which is now fixed.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5962#comment:1>
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 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.

Reply via email to