A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2005-September/056039.html below:

[Python-Dev] Replacement for print in Python 3.0

[Python-Dev] Replacement for print in Python 3.0 [Python-Dev] Replacement for print in Python 3.0Barry Warsaw 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.

-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
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 mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4