[issue2541] Unicode escape sequences not parsed in raw strings.
report at bugs.python.org
Wed Apr 9 12:03:25 CEST 2008
Marc-Andre Lemburg <mal at egenix.com> added the comment:
While that's true for cPickle, it is not for pickle. The pickle protocol
itself is defined in terms of the "raw-unicode-escape" codec (see
Besides, you cannot assume that the Python interpreter itself is the
only use-case for these codecs. The "raw-unicode-escape" codec is well
usable for other purposes where you need a compact way of encoding
Unicode, especially if you're strings are mostly Latin-1 and only
include non-UCS2 code points every now and then. That's also the reason
why pickle uses it.
Tracker <report at bugs.python.org>
More information about the Python-bugs-list