[Python-ideas] raw strings
g.brandl at gmx.net
Mon Oct 1 23:03:07 CEST 2007
Guido van Rossum schrieb:
> (Clark: I don't want to discuss this offline. On the list it goes.)
> Quote doubling isn't a viable option for Python -- I don't believe
> it's sane to have both backslashes and quote-double as escape
> Of course in C# the trailing \ is the main use case -- after all it's
> a Microsoft product.
> While for some Windows users this may be a nuisance, I don't think
> they are in the majority amongst Python users.
But why upset them? What is the reason for not allowing trailing
backslashes in raw strings, except more code in the tokenizer?
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.
More information about the Python-ideas