#10334: miscellaneous cleanup in perm_gps preparing for domains
-------------------------------+--------------------------------------------
Reporter: mhansen | Owner: joyner
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-4.6.2
Component: group theory | Resolution: fixed
Keywords: | Author: Mike Hansen
Upstream: N/A | Reviewer: Robert Miller
Merged: sage-4.6.2.alpha2 | Work_issues:
-------------------------------+--------------------------------------------
Changes (by vbraun):
* status: closed => needs_work
Comment:
I tripped over this patch as well (on sage-4.6.2.alpha3)
{{{
sage: S4 = SymmetricGroup(4)
sage: [ g.orbits() for g in S4.conjugacy_classes_subgroups() ]
ERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (396, 0))
---------------------------------------------------------------------------
AttributeError Traceback (most recent call
last)
/home/vbraun/Sage/24cell/<ipython console> in <module>()
/home/vbraun/Sage/sage/local/lib/python2.6/site-
packages/sage/misc/cachefunc.pyc in __call__(self, *args, **kwds)
553 return self.cache[k]
554 except KeyError:
--> 555 w = self._cachedmethod._instance_call(self._instance,
*args, **kwds)
556 self.cache[k] = w
557 return w
/home/vbraun/Sage/sage/local/lib/python2.6/site-
packages/sage/misc/cachefunc.pyc in _instance_call(self, inst, *args,
**kwds)
776
777 """
--> 778 return self._cachedfunc.f(inst, *args, **kwds)
779
780 def _get_instance_cache(self, inst):
/home/vbraun/Sage/sage/local/lib/python2.6/site-
packages/sage/groups/perm_gps/permgroup.pyc in orbits(self)
952 sage: G.stabilizer(1)
953 Permutation Group with generators [(2,3)(4,10),
(2,10,4)]
--> 954 sage: G = PermutationGroup([[(2,3,4)],[(6,7)]])
955 sage: G.stabilizer(1)
956 Permutation Group with generators [(6,7), (2,3,4)]
/home/vbraun/Sage/sage/local/lib/python2.6/site-
packages/sage/groups/perm_gps/permgroup.pyc in _set_gap(self)
911 """
912 return self._gap_().Orbit(integer).sage()
--> 913
914 def transversals(self, integer):
915 """
/home/vbraun/Sage/sage/local/lib/python2.6/site-
packages/sage/groups/perm_gps/permgroup.pyc in set(self)
896 return self._gap_().Orbits("[1..%d]" %
self.largest_moved_point()).sage()
897
--> 898 @cached_method
899 def orbit(self, integer):
900 """
/home/vbraun/Sage/sage/local/lib/python2.6/site-
packages/sage/structure/parent.so in
sage.structure.parent.Parent.__getattr__ (sage/structure/parent.c:5600)()
/home/vbraun/Sage/sage/local/lib/python2.6/site-
packages/sage/structure/parent.so in
sage.structure.parent.getattr_from_other_class
(sage/structure/parent.c:2777)()
/home/vbraun/Sage/sage/local/lib/python2.6/site-
packages/sage/structure/parent.so in
sage.structure.parent.raise_attribute_error
(sage/structure/parent.c:2663)()
AttributeError: 'PermutationGroup_generic_with_category' object has no
attribute '_set'
}}}
For reference, I'll attach a patch that reverses the changes. With the
patch reversed, I get the expected output.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10334#comment:6>
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.