[Python-Dev] Raw string syntax inconsistency (original) (raw)
Terry Reedy tjreedy at udel.edu
Mon Jun 18 19:19:07 CEST 2012
- Previous message: [Python-Dev] Raw string syntax inconsistency
- Next message: [Python-Dev] Raw string syntax inconsistency
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] Raw string syntax inconsistency
- Next message: [Python-Dev] Raw string syntax inconsistency
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]