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"...").
This commit is contained in:
parent
c15a9a1f98
commit
fdc8bdb67b
|
@ -920,7 +920,7 @@ parsestr(s)
|
|||
return NULL;
|
||||
}
|
||||
}
|
||||
if (unicode) {
|
||||
if (unicode || Py_UnicodeFlag) {
|
||||
if (rawmode)
|
||||
return PyUnicode_DecodeRawUnicodeEscape(
|
||||
s, len, NULL);
|
||||
|
|
Loading…
Reference in New Issue