raw strings

Gerhard Häring gerhard.haering at opus-gmbh.net
Fri Oct 11 09:36:28 EDT 2002


Michele Simionato <mis6 at pitt.edu> [2002-10-11 13:28 GMT]:
> [...] I don't like to be forced to put the r in front of raw
> strings,

IMO you have bad luck, as the r"..." for raw strings is handled
by the Python parser, just like u"..." for Unicode strings.

So there is no possibility to get rid of the r" of raw strings,
except writing a preprocessor for Python source code.

-- Gerhard



More information about the Python-list mailing list