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/2012-June/120358.html below:

[Python-Dev] Raw string syntax inconsistency

[Python-Dev] Raw string syntax inconsistency [Python-Dev] Raw string syntax inconsistencyTerry Reedy tjreedy at udel.edu
Mon Jun 18 08:23:59 CEST 2012
On 6/18/2012 2:06 AM, "Martin v. Löwis" wrote:

>> Hm. I still encounter enough environments that don't know how to display
>> such characters that I would prefer to have a rock solid \u escape
>> mechanism.
>
> If you want to use them under the revised PEP 414, you will have to
> avoid making them raw, and just use a plain u prefix. IOW, you need
> to double all backslashes that you want to stand on their own, and
> then use \u escapes to denote non-typable characters.

And such literals will mean the same thing in 2.x and 3.3+.

-- 
Terry Jan Reedy




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