#6391: libGAP!  -- create a Cython library interface to gap
----------------------------------------------------------------------------+
       Reporter:  was                                                       |   
      Owner:  was                                                     
           Type:  enhancement                                               |   
     Status:  positive_review                                         
       Priority:  major                                                     |   
  Milestone:  sage-5.5                                                
      Component:  group theory                                              |   
 Resolution:                                                          
       Keywords:                                                            |   
Work issues:                                                          
Report Upstream:  N/A                                                       |   
  Reviewers:  Dima Pasechnik, Ivan Andrus, Volker Braun, William Stein
        Authors:  Dima Pasechnik, Ivan Andrus, Volker Braun, William Stein  |   
  Merged in:                                                          
   Dependencies:  #13415, #13123, #13211                                    |   
   Stopgaps:                                                          
----------------------------------------------------------------------------+

Comment (by mmarco):

 I get a strange behaviour when i use tab completion with libgap objects:

 {{{
 sage: F=libgap.eval('FreeGroup(2)')
 sage: F.GeneratorsOfGroup()
 [ f1, f2 ]
 sage: F.GeneratorsOf
 F.GeneratorsOfField  F.GeneratorsOfGroup  F.GeneratorsOfIdeal
 sage: F.GeneratorsOfGroup()
 ---------------------------------------------------------------------------
 AttributeError                            Traceback (most recent call
 last)

 /home/mmarco/sage-5.4/<ipython console> in <module>()

 /home/mmarco/sage-5.4/local/lib/python2.7/site-
 packages/sage/libs/gap/element.so in
 sage.libs.gap.element.GapElement.__getattr__
 (sage/libs/gap/element.c:3555)()

 AttributeError: Name "GeneratorsOfGroup" is not defined in GAP.
 sage: F
 Exception RuntimeError: 'Entered a critical block twice' in
 'sage.libs.gap.util.error_handler' ignored
 <free group on the generators [ f1, f2 ]>
 sage: F.GeneratorsOfGroup()
 [ f1, f2 ]
 }}}
 (i hitted TAB in the line F.GeneratorsOf, so it showed the possible
 completions).

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