[issue8383] pickle is unable to encode unicode surrogates

STINNER Victor report at bugs.python.org
Tue Apr 13 11:28:23 CEST 2010


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

> Both pickle and marshal will need to use the new error handler 
> in order to stay compatible with Python 3.0 (and 2.x) 
> and also to enable creating Unicode literals that include 
> lone surrogates.

Attached patch fixes pickle. Marshal does already use surrogatepass since Martin's commit r72208 (Issue #3672).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8383>
_______________________________________


More information about the Python-bugs-list mailing list