[Python-Dev] Replacement for print in Python 3.0
Reinhold Birkenfeld
reinhold-birkenfeld-nospam at wolke7.net
Thu Sep 1 23:15:04 CEST 2005
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!
More information about the Python-Dev
mailing list