surely there's an easy fix for this:

sage: G= PermutationGroup([])
sage: G
Permutation Group with generators []
sage: G.is_abelian()
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call
last)

/Users/pedro/<ipython console> in <module>()

/Applications/sage/local/lib/python2.5/site-packages/sage/groups/
perm_gps/permgroup.pyc in is_abelian(self)
   1307             True
   1308         """
-> 1309         return self._gap_().IsAbelian().bool()
   1310
   1311     def is_commutative(self):

/Applications/sage/local/lib/python2.5/site-packages/sage/structure/
sage_object.so in sage.structure.sage_object.SageObject._gap_ (sage/
structure/sage_object.c:2442)()

/Applications/sage/local/lib/python2.5/site-packages/sage/structure/
sage_object.so in sage.structure.sage_object.SageObject._interface_
(sage/structure/sage_object.c:2186)()

/Applications/sage/local/lib/python2.5/site-packages/sage/interfaces/
expect.pyc in __call__(self, x, name)
    963             return x
    964         if isinstance(x, basestring):
--> 965             return cls(self, x, name=name)
    966         try:
    967             return self._coerce_from_special_method(x)

/Applications/sage/local/lib/python2.5/site-packages/sage/interfaces/
expect.pyc in __init__(self, parent, value, is_name, name)
   1281             except (TypeError, KeyboardInterrupt,
RuntimeError, ValueError), x:
   1282                 self._session_number = -1
-> 1283                 raise TypeError, x
   1284         self._session_number = parent._session_number
   1285

TypeError: Gap produced error output
Error, usage: Group(<gen>,...), Group(<gens>), Group(<gens>,<id>)

   executing $sage1:=Group([]);;
sage:

--~--~---------~--~----~------------~-------~--~----~
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-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to