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.