diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-04-05 14:49:54 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-04-05 14:49:54 (GMT) |
commit | 8dbca06b220b1ac2bfbccb09fb07f6f2ab4213f4 (patch) | |
tree | 37edb5594367c8bd66b2a6aae8180d496c08571e /Python | |
parent | 247bd2efd886bbb75dcdadf4d78933369e813169 (diff) | |
download | cpython-8dbca06b220b1ac2bfbccb09fb07f6f2ab4213f4.zip cpython-8dbca06b220b1ac2bfbccb09fb07f6f2ab4213f4.tar.gz cpython-8dbca06b220b1ac2bfbccb09fb07f6f2ab4213f4.tar.bz2 |
Reverted r62128 on Guido's orders
Diffstat (limited to 'Python')
-rw-r--r-- | Python/ast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ast.c b/Python/ast.c index 218436f..6a9658a 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -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) { |