[Python-3000] Raw strings containing \u or \U
Ron Adam
rrr at ronadam.com
Thu May 17 00:42:24 CEST 2007
Guido van Rossum wrote:
> That would be great! This will automatically turn \u1234 into 6
> characters, right?
>
> Perhaps you could make the patch against the py3k-struni branch
> instead of against the regular p3yk (sic) branch?
Done. Patch number 1720390
https://sourceforge.net/tracker/index.php?func=detail&aid=1720390&group_id=5470&atid=305470
This doesn't include the strings needing changes in the library to passes
all the tests. That's mostly changing single quotes to triple quotes when
a string contains both quote characters. I'll make a second patch that
includes those.
Cheers,
Ron
More information about the Python-3000
mailing list