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-March/117259.html below:

[Python-Dev] PEP 414

[Python-Dev] PEP 414 [Python-Dev] PEP 414martin at v.loewis.de martin at v.loewis.de
Sat Mar 3 01:49:48 CET 2012
Zitat von Lennart Regebro <regebro at gmail.com>:

> Just my 2 cents on the PEP rewrite:
>
> u'' support is not just if you want to write code that doesn't use
> 2to3. Even when you use 2to3 it is useful to be able to flag strings s
> binary, unicode or "native".

How so? In the Python 3 code, the u"" prefix would not appear, even if appears
in the original source, as 2to3 eliminates it.

So you surely need the u"" prefix to distinguish binary, unicode, or native
strings in your source - but with 2to3, the PEP 414 change is unnecessary.

Regards,
Martin

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