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

Comment(by was):

 Replying to [comment:22 dimpase]:
 > class Gap(ParentWithBase) is instantiated only once, for base=ZZ. Is it
 meant that it should be instantiated for other bases, too? And if so,
 which ones? (I must say it's very puzzling to me piece of code...)
 >

 No, only once for base=ZZ.

 > in the class GapElement, _div_ and other member functions can
 potentially fail (as demonstrated in the comment "This log pretty much
 explains what/why/what next:..." above), e.g. due to division by 0. It is
 meant that the corresponding checks are to be implemented in these member
 functions? I guess not, it's rather a matter of properly catching the
 corresponding GAP interrupts, right?
 >

 Yes.  I don't know if GAP uses "interrupts" though.  You are basically
 above asking: "Here is a problem nobody has solved yet, which is why
 libgap hasn't moved forward.  What is the solution?"

 > What _dealloc_ in this class meant to do?

 See {{__dealloc__}} at
 http://docs.cython.org/src/reference/extension_types.html for the
 definition of __dealloc__.  It is like __del__ in python.

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