#6391: libGAP!  -- create a Cython library interface to gap
---------------------------+------------------------------------------------
   Reporter:  was          |       Owner:  was       
       Type:  enhancement  |      Status:  needs_work
   Priority:  major        |   Milestone:  sage-4.7  
  Component:  interfaces   |    Keywords:            
     Author:               |    Upstream:  N/A       
   Reviewer:               |      Merged:            
Work_issues:               |  
---------------------------+------------------------------------------------

Comment(by kcrisman):

 When testing the sage/libs/gap/ directory, I get a number of errors in
 libgap.pyx only.   Most stuff passes, but it seems to handle errors
 differently.  See below for an example; every error is something analogous
 to this, though of course they look different depending on what error is
 raised instead of what is expected.

 This is on Mac OS X 10.4 PPC.

 {{{
 File
 "/Users/student/Desktop/sage-4.6.2/devel/sage/sage/libs/gap/libgap.pyx",
 line 670:
     sage: libgap(1) / libgap('0')
 Expected:
     Traceback (most recent call last):
     ...
     ValueError: Gap: Rational operations: <divisor> must not be zero
 Got:
     Traceback (most recent call last):
       File "/Users/student/Desktop/sage-4.6.2/local/bin/ncadoctest.py",
 line 1231, in run_one_test
         self.run_one_example(test, example, filename, compileflags)
       File "/Users/student/Desktop/sage-4.6.2/local/bin/sagedoctest.py",
 line 38, in run_one_example
         OrigDocTestRunner.run_one_example(self, test, example, filename,
 compileflags)
       File "/Users/student/Desktop/sage-4.6.2/local/bin/ncadoctest.py",
 line 1172, in run_one_example
         compileflags, 1) in test.globs
       File "<doctest __main__.example_17[7]>", line 1, in <module>
         libgap(Integer(1)) / libgap('0')###line 670:
     sage: libgap(1) / libgap('0')
       File "element.pyx", line 1549, in
 sage.structure.element.RingElement.__div__
 (sage/structure/element.c:11981)
     RuntimeError: Rational operations: <divisor> must not be zero
 }}}

 By the way, this needs some authors and reviewers in the list :)

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