diff Python/ast.c @ 46306:b10292eafb07

Reverted r62128 on Guido's orders
author Benjamin Peterson <benjamin@python.org>
date Sat, 05 Apr 2008 14:49:54 +0000
parents 2848c657af0a
children 031dfe455585
line wrap: on
line diff
--- a/Python/ast.c	Sat Apr 05 06:16:50 2008 +0000
+++ b/Python/ast.c	Sat Apr 05 14:49:54 2008 +0000
@@ -3231,7 +3231,7 @@
             return NULL;
         }
     }
-    if (!*bytesmode) {
+    if (!*bytesmode && !rawmode) {
         return decode_unicode(s, len, rawmode, c->c_encoding);
     }
     if (*bytesmode) {