[Python-Dev] Replacement for print in Python 3.0
barry at python.org
Fri Sep 2 13:59:48 CEST 2005
On Thu, 2005-09-01 at 16:07, Guido van Rossum wrote:
> Another real problem with print is that, while the automatic insertion
> of spaces is nice for beginners, it often gets in the way,
OTOH, print's automatic space insertion is often the reason why I'll
reach for it instead of stream.write().
Maybe we should be thinking of this differently. What on the surface
appears to be many varieties of one use case, screaming out for
TOOWTDI+options is really (at least) two use cases urging us to
different solutions appropriate for the problem. I have no qualms with
adding writeln() or writefmt() or whatever -- those seem like useful
additions I'm sure I'd use. But I don't think that therefore (or under
the principles of TOOWTDI or cleanliness) demands the removal of print.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/python-dev/attachments/20050902/7cc92195/attachment.pgp
More information about the Python-Dev