From fdc8bdb67b7a82980d5844cb86b6eb9b48d4ec38 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 1 May 2000 17:54:56 +0000 Subject: Marc-Andre Lemburg: Support for the new -U command line option option: with the option enabled the Python compiler interprets all "..." strings as u"..." (same with r"..." and ur"..."). --- Python/compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/compile.c b/Python/compile.c index 6d330cf..58354c6 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -920,7 +920,7 @@ parsestr(s) return NULL; } } - if (unicode) { + if (unicode || Py_UnicodeFlag) { if (rawmode) return PyUnicode_DecodeRawUnicodeEscape( s, len, NULL); -- cgit v0.12