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 zhirsch
Recipients benjamin.peterson, pooryorick, zhirsch
Date 2009-03-09.08:55:10
SpamBayes Score 4.4767207e-06
Marked as misclassified No
Message-id <1236588915.0.0.838328897851.issue5447@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-03-09 08:55:15zhirschsetrecipients: + zhirsch, pooryorick, benjamin.peterson
2009-03-09 08:55:15zhirschsetmessageid: <1236588915.0.0.838328897851.issue5447@psf.upfronthosting.co.za>
2009-03-09 08:55:13zhirschlinkissue5447 messages
2009-03-09 08:55:12zhirschcreate