[issue2541] Unicode escape sequences not parsed in raw strings.

Marc-Andre Lemburg report at bugs.python.org
Tue Apr 8 18:45:38 CEST 2008


Marc-Andre Lemburg <mal at egenix.com> added the comment:

You can't change the codec - it's being used in other places as well,
e.g. for use cases where you need to have a 7-bit encoded readable
version of a Unicode object.

Adding a new codec would be fine, though I don't know how this would map
raw Unicode strings with non-ASCII characters in them to an 8-bit
string. Perhaps this is not needed at all in Py3k.

----------
nosy: +lemburg

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2541>
__________________________________


More information about the Python-bugs-list mailing list