A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-May/073066.html below:

[Python-Dev] \u and \U escapes in raw unicode string literals

[Python-Dev] \u and \U escapes in raw unicode string literals [Python-Dev] \u and \U escapes in raw unicode string literalsGuido van Rossum guido at python.org
Fri May 11 16:30:33 CEST 2007
On 5/10/07, "Martin v. Löwis" <martin at v.loewis.de> wrote:
> Windows path names are one of the two primary applications of raw
> strings (the other being regexes).

I disagree with this use case; the r"..." notation was not invented
for this purpose. I won't compromise the escaping of quotes to
accommodate it. Nevertheless I think that \u and \U should lose their
special-ness in 3.0.

I'd like to hear from anyone who has access to *real code* that uses
\u or \U in a raw unicode string.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4