Reverted r62128 on Guido's orders

This commit is contained in:
Benjamin Peterson 2008-04-05 14:49:54 +00:00
parent 247bd2efd8
commit 8dbca06b22
2 changed files with 1 additions and 3 deletions

View file

@ -3231,7 +3231,7 @@ parsestr(struct compiling *c, const node *n, int *bytesmode)
return NULL;
}
}
if (!*bytesmode) {
if (!*bytesmode && !rawmode) {
return decode_unicode(s, len, rawmode, c->c_encoding);
}
if (*bytesmode) {