On Monday, 16 March 2015 19:52:18 UTC, Volker Braun wrote: > > The GAP docs say "in many cases the form shown by Print is GAP readable". > But apparently not all cases.... > > Sometimes you get just the description of the type of the object, AFAIK. But this should be possible to fix or to workaround. IMHO GAP upstream would appreciate something that work reliably in this respect.
By the way, now there is https://github.com/gap-system/gap > > On Monday, March 16, 2015 at 10:04:32 AM UTC+1, Dima Pasechnik wrote: >> >> On Sunday, 15 March 2015 18:51:02 UTC, Volker Braun wrote: >>> >>> We should show a better error message >>> >>> But afaik GAP doesn't have a pickling feature apart from saving the >>> entire workspace, so there is little we can do about it. >>> >> >> The usual way to save a particular GAP object is to print it to a file... >> (cf. GAP's PrintTo and AppendTo) >> With a bit of extra effort this can be read (cf. Read) back into another >> or the same GAP session. >> >> >>> >>> >>> On Sunday, March 15, 2015 at 12:16:28 PM UTC+1, vdelecroix wrote: >>>> >>>> Hello, >>>> >>>> I am trying to implement a native SL(n,Z) in Sage using our dense >>>> matrices. But while factoring some code in sage.groups.matrix_gps I >>>> ran into >>>> >>>> sage: G = libgap.eval("Group([ [ [ 1, 1 ], [ 0, 1 ] ], [ [ 1, 0 ], [ >>>> 1, 1 ] ] ])") >>>> sage: loads(dumps(G)) >>>> Traceback (most recent call last) >>>> ... >>>> AttributeError: Python special name, not a GAP function. >>>> >>>> Is that the expected behavior? >>>> >>>> Thanks >>>> Vincent >>>> >>> -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.