Message83363
I've hit this, too, and it's annoyed me. So here's a patch against trunk
that should fix it.
The idea is: whenever unicode_literals are turned on (or the -U command
line flag is passed), to convert r"\u" to "\u005c\u0075" and r"\U" to
"\u005c\u0055" for every string literal in the source file before
passing the string to PyUnicode_DecodeRawUnicodeEscape. |
|
Date |
User |
Action |
Args |
2009-03-09 08:55:15 | zhirsch | set | recipients:
+ zhirsch, pooryorick, benjamin.peterson |
2009-03-09 08:55:15 | zhirsch | set | messageid: <1236588915.0.0.838328897851.issue5447@psf.upfronthosting.co.za> |
2009-03-09 08:55:13 | zhirsch | link | issue5447 messages |
2009-03-09 08:55:12 | zhirsch | create | |
|