[Python-Dev] PEP 414
Lennart Regebro
regebro at gmail.com
Fri Mar 2 23:03:25 CET 2012
On Fri, Mar 2, 2012 at 15:26, Serhiy Storchaka <storchaka at gmail.com> wrote:
> 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?
I don't understand your question.
> "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().
Yes.
More information about the Python-Dev
mailing list