[Python-Dev] Raw string syntax inconsistency

Guido van Rossum guido at python.org
Mon Jun 18 22:23:34 CEST 2012


Cool.

On Mon, Jun 18, 2012 at 10:19 AM, Terry Reedy <tjreedy at udel.edu> wrote:

> On 6/18/2012 11:12 AM, Guido van Rossum wrote:
>
>> Ok, banning ru"..." and ur"..." altogether is fine too (assuming it's
>> fine with the originators of the PEP).
>>
>
> The original PEP never proposed ur or ru , only u/U.
>
> It turns out that ur is problematical even in 2.x, as its meaning is
> changed by the future import. 2&3 code should skip the convenience of the r
> prefix and just use u and doubled \s. The PEP should probably say that.
>
> --
> Terry Jan Reedy
>
>
>
>
> ______________________________**_________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/**mailman/listinfo/python-dev<http://mail.python.org/mailman/listinfo/python-dev>
> Unsubscribe: http://mail.python.org/**mailman/options/python-dev/**
> guido%40python.org<http://mail.python.org/mailman/options/python-dev/guido%40python.org>
>



-- 
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20120618/870af51f/attachment-0001.html>


More information about the Python-Dev mailing list