[Python-Dev] PEP 414
Serhiy Storchaka
storchaka at gmail.com
Fri Mar 2 15:26:00 CET 2012
02.03.12 15:49, Lennart Regebro написав(ла):
> 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".
What "native" means in context Python 3 only? "Native" strings only have
meaning if we consider Python 2 and Python 3 together. "Native" string
is a text string, which was binary in Python 2. There is a flag for such
strings -- str().
More information about the Python-Dev
mailing list