1 Sep
2005
1 Sep
'05
4:15 p.m.
Raymond Hettinger wrote:
Do we really need writef()? It seems to be not much better than its %- formatting equivalent.
Actually, formatting needs to become a function. The overloading of the arithmetic mod operator has proven to be unfortunate (if only because of precedence issues).
But then, a format() function would be necessary (equivalent to sprintf)
Also, the format coding scheme itself needs to be revisited. There is no shortage of people who have taken issue with the trailing s in %(myvar)s.
That's a nuisance, right. Reinhold -- Mail address is perfectly valid!