ur'foo' syntax under Python 3

Lele Gaifax lele at metapensiero.it
Sat Feb 8 14:38:14 EST 2014


Hi all,

I'm using Python 3.3, and I was surprised to realize that it does not
support the old Python 2 syntax ur"literal-raw-unicode-strings".

Is there any trick to write such literals in a Python2+3 compatible
source?

Is there a rationale behind the invalid syntax or is it just a glitch?

thanks in advance,
bye, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele at metapensiero.it  |                 -- Fortunato Depero, 1929.




More information about the Python-list mailing list