[issue2541] Unicode escape sequences not parsed in raw strings.
Amaury Forgeot d'Arc
report at bugs.python.org
Thu Apr 3 15:15:01 CEST 2008
Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:
No, it's about python 3.0. I confirm the problem, and propose a patch:
--- Python/ast.c.original 2008-04-03 15:12:15.548389400 +0200
+++ Python/ast.c 2008-04-03 15:12:28.359475800 +0200
@@ -3232,7 +3232,7 @@
return NULL;
}
}
- if (!*bytesmode && !rawmode) {
+ if (!*bytesmode) {
return decode_unicode(s, len, rawmode, encoding);
}
if (*bytesmode) {
----------
nosy: +amaury.forgeotdarc
resolution: invalid ->
status: closed -> open
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2541>
__________________________________
More information about the Python-bugs-list
mailing list