[Python-Dev] Replacement for print in Python 3.0 (original) (raw)
Raymond Hettinger raymond.hettinger at verizon.net
Sat Sep 3 17:32:15 CEST 2005
- Previous message: [Python-Dev] Replacement for print in Python 3.0
- Next message: [Python-Dev] Replacement for print in Python 3.0
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[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
- Previous message: [Python-Dev] Replacement for print in Python 3.0
- Next message: [Python-Dev] Replacement for print in Python 3.0
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]