This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, benjamin.peterson, jmillikin
Date 2008-04-03.13:15:00
SpamBayes Score 0.4358091
Marked as misclassified No
Message-id <1207228501.85.0.984522915147.issue2541@psf.upfronthosting.co.za>
In-reply-to
Content
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) {
History
Date User Action Args
2008-04-03 13:15:02amaury.forgeotdarcsetspambayes_score: 0.435809 -> 0.4358091
recipients: + amaury.forgeotdarc, benjamin.peterson, jmillikin
2008-04-03 13:15:01amaury.forgeotdarcsetspambayes_score: 0.435809 -> 0.435809
messageid: <1207228501.85.0.984522915147.issue2541@psf.upfronthosting.co.za>
2008-04-03 13:15:00amaury.forgeotdarclinkissue2541 messages
2008-04-03 13:15:00amaury.forgeotdarccreate