[Python-Dev] Unpickling py2 str as py3 bytes (and vice versa) (original) (raw)

[Python-Dev] Unpickling py2 str as py3 bytes (and vice versa) - implementation (issue #6784)

Merlijn van Deen valhallasw at arctus.nl
Tue Mar 13 12:45:59 CET 2012


Oops. I should re-read my mails before I send them, not /after/ I send them.

On 13 March 2012 12:44, Merlijn van Deen <valhallasw at arctus.nl> wrote:

pickled = BytestrPickler(data, bytestr=True); unpickled = BytestrUnpickler(data, bytestr=True)

should of course read

pickled = BytestrPickler(data); unpickled = BytestrUnpickler(data)

Sorry about that.

Merlijn



More information about the Python-Dev mailing list