Antoine Pitrou <pit...@free.fr> added the comment: Ok, so it boils down to:
>>> pickle.loads(b'\x80\x02}q\x00U\x00q\x01h\x01s.') {'': ''} >>> pickle.loads(b'\x80\x02}q\x00U\x00q\x01h\x01s.', encoding='latin1') Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: operation forbidden on released memoryview object (this is protocol 2, by the way. Protocol 0 works fine.) ---------- nosy: +pitrou _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11286> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com