Hello Simon, As discussed in
https://groups.google.com/forum/#!topic/sage-devel/JuKzzgxDlmA Pickling/unpickling is not supposed to work accross Sage versions (including the Python version you use). Is this what you are trying to make work? Vincent Le 02/09/2019 à 02:25, Simon King a écrit :
Hi! I have a pickle that I can unpickle in Sage-with-Python-2, but it fails to unpickle in Sage-with-Python-3, because of some UnicodeError. Strangely, when I read the pickle as a string open('path/to/file.sobj').read() then it fails with a (different?) UnicodeError in Python-3. The details (namely the pickle and the steps to read it in Python-2) can be found in https://trac.sagemath.org/ticket/28414#comment:36 Can some expert please tell me how to unpickle the pickle in Python-3? Best regards, Simon
-- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/fc4b783d-a421-e73e-88ab-395c9e401f7c%40gmail.com.