[Cython] from __future__ import ...

Stefan Behnel stefan_ml at behnel.de
Sat May 17 07:34:38 CEST 2008


Hi,

Robert Bradshaw wrote:
> On May 16, 2008, at 9:45 PM, Stefan Behnel wrote:
>>     ur"abc"
>>     br"abc"
>>
>> which were previously unavailable.
> 
> What do ur and br mean?

Unescaped raw unicode and raw byte strings. Py2 accepts them, but Pyrex
doesn't. Example:

http://hg.cython.org/cython-devel-py3/file/tip/tests/run/strliterals.pyx

Stefan



More information about the Cython-dev mailing list