On Monday, September 2, 2019 at 6:22:24 PM UTC+2, Simon King wrote: > > Also, if I understand the error message "UnicodeDecodeError: 'ascii' > codec can't decode byte 0x80 in position 0: ordinal not in range(128)" > correctly, it is an error in unpickling a string. And this, I believe, > can and must be totally absolutely backwards compatible. >
The problem apparently boils down to the following: - Pickle the string '\x80\x1f' in Python-2 - Try to load that pickle in Python-3 (it fails). Bummer! AFAIK, what I need to unpickle my old data is a way to tell Python-3 that it shall (at least temporarily) unpickle all strings as bytes, in the sense that the pickled string '\x80\x1f' should be understood as b'\x80\x1f'. Is there a way? 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/c209a82e-b914-4e02-bfae-52130d02c954%40googlegroups.com.