[Python-Dev] Replacement for print in Python 3.0
Raymond Hettinger
raymond.hettinger at verizon.net
Sat Sep 3 17:32:15 CEST 2005
[Barry Warsaw]
> I think it's best to have two builtins:
>
> print(*args, **kws)
> printf(fmt, *args, **kws)
>
> I would also /require/ that any behavior changing keyword arguments
> /not/ be magically inferred from the positional arguments. So you'd
> have to explicitly spell 'nl=False' or "stream=fp" if that's what you
> wanted.
Good improvements.
Raymond
More information about the Python-Dev
mailing list