[issue2980] Pickle stream for unicode object may contain non-ASCII characters.

Martin v. Löwis report at bugs.python.org
Wed May 28 00:56:19 CEST 2008


Martin v. Löwis <martin at v.loewis.de> added the comment:

> Unfortunately, there's no way to fix this now, since the
> bug has been around since Python 1.6.

Actually, there is a way to fix that: pickle could start
emitting \u escapes for characters in the range 128..256.
Older pickle implementations would be able to read that
in just fine.

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


More information about the Python-bugs-list mailing list