Commit 0c0b42e3 authored by Guido van Rossum's avatar Guido van Rossum

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"...").
parent f6ce17f1
......@@ -920,7 +920,7 @@ parsestr(s)
return NULL;
}
}
if (unicode) {
if (unicode || Py_UnicodeFlag) {
if (rawmode)
return PyUnicode_DecodeRawUnicodeEscape(
s, len, NULL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment