I love it!

On Thu, Mar 27, 2014 at 12:11 PM, Ethan Furman <et...@stoneleaf.us> wrote:

> On 03/27/2014 11:59 AM, Guido van Rossum wrote:
>
>>
>> PS. I am not trying to be difficult. I honestly don't understand the use
>> case yet, and the PEP doesn't do much to
>> support it.
>>
>
> How's this?
> ------------------------------------------------------------
> ----------------
> Compatibility with Python 2
> ===========================
>
> As noted above, ``%s`` is being included solely to help ease migration
> from,
> and/or have a single code base with, Python 2.  This is important as there
> are modules both in the wild and behind closed doors that currently use the
> Python 2 ``str`` type as a ``bytes`` container, and hence are using ``%s``
> as a bytes interpolator.
>
> However, ``%b`` should be used in new, Python 3 only code, so ``%s`` will
> immediately be deprecated, but not removed until the next major Python
> release.
>
> ------------------------------------------------------------
> ----------------
>
> --
> ~Ethan~
> _______________________________________________
> Python-Dev mailing list
> Python-Dev@python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/
> guido%40python.org
>



-- 
--Guido van Rossum (python.org/~guido)
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to