[Python-Dev] \u and \U escapes in raw unicode string literals
Andrew McNabb
amcnabb at mcnabbs.org
Sat May 12 02:42:54 CEST 2007
On Sat, May 12, 2007 at 01:30:52AM +0200, M.-A. Lemburg wrote:
>
> I wonder how we managed to survive all these years with
> the existing consistent and concise definition of the
> raw-unicode-escape codec ;-)
>
> There are two options:
>
> * no one really uses Unicode raw strings nowadays
>
> * none of the existing users has ever stumbled across the
> "problem case" that triggered all this
>
> Both ways, we're discussing a non-issue.
Sure, it's a non-issue for Python 2.x. However, when Python 3 comes
along, and all strings are Unicode, there will likely be a lot more
users stumbling into the problem case.
--
Andrew McNabb
http://www.mcnabbs.org/andrew/
PGP Fingerprint: 8A17 B57C 6879 1863 DE55 8012 AB4D 6098 8826 6868
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.python.org/pipermail/python-dev/attachments/20070511/62e01acd/attachment.pgp
More information about the Python-Dev
mailing list