You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sage's libgap provides a __reduce__ function for pickling GapElements. However, it's fairly dependent on Sage, since where possible it will convert to the appropriate Sage/Python type, pickle that, and then convert it back to a GAP object when unpickling.
As a fallback it will also pickle the GAP object's str() representation, and then try to gap.eval() it on restore, but this is not always terribly reliable.
So gappy removes explicit pickling support for now, but it might be useful to add back in; need to find out what the current state-of-the-art is for serialization of GAP objects.
The text was updated successfully, but these errors were encountered:
Sage's libgap provides a
__reduce__
function for picklingGapElement
s. However, it's fairly dependent on Sage, since where possible it will convert to the appropriate Sage/Python type, pickle that, and then convert it back to a GAP object when unpickling.As a fallback it will also pickle the GAP object's
str()
representation, and then try togap.eval()
it on restore, but this is not always terribly reliable.So gappy removes explicit pickling support for now, but it might be useful to add back in; need to find out what the current state-of-the-art is for serialization of GAP objects.
The text was updated successfully, but these errors were encountered: