[issue2541] Unicode escape sequences not parsed in raw strings.
Amaury Forgeot d'Arc
report at bugs.python.org
Wed Apr 9 01:55:39 CEST 2008
Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:
I mean: now that raw strings cannot represent all unicode points (or
more precisely, they need the file encoding to do so), is there a use
case for "raw-unicode-escape" that cannot be filled by the
unicode-escape codec?
Note that pickle does not use "raw-unicode-escape" as is: it replaces
backslashes by \u005c. This has the nice effect that pickled strings can
also be decoded by "unicode-escape".
That's why I propose to completely remove raw-unicode-escape, and use
unicode-escape instead.
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2541>
__________________________________
More information about the Python-bugs-list
mailing list