From 8dbca06b220b1ac2bfbccb09fb07f6f2ab4213f4 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 5 Apr 2008 14:49:54 +0000 Subject: Reverted r62128 on Guido's orders --- Python/ast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/ast.c') diff --git a/Python/ast.c b/Python/ast.c index 218436f205..6a9658a974 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) { -- cgit v1.2.1