[Python-Dev] Replacement for print in Python 3.0

Paul Moore p.f.moore at gmail.com
Tue Sep 6 18:36:19 CEST 2005


On 9/6/05, Gareth McCaughan <gmccaughan at synaptics-uk.com> wrote:
> So borrow a trick from Common Lisp and use a destination of None
> to mean "return the formatted text as a string".
[...]
> Or is that too cryptic?

Yes.

To my mind, formatting (returning a string) and output are separate
operations. A "write formatted output" operation is a useful
convenience method, but it's not the basic operation.

Paul.


More information about the Python-Dev mailing list