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/2001-June/015359.html below:

Omit printing newline after newline

[Python-Dev] PEP 259: Omit printing newline after newline [Python-Dev] PEP 259: Omit printing newline after newlineBarry A. Warsaw barry@digicool.com
Mon, 11 Jun 2001 23:00:52 -0400
>>>>> "GE" == Greg Ewing <greg@cosc.canterbury.ac.nz> writes:

    GE> There's too much magic in the way print handles spaces and
    GE> newlines already. Making it even more magical and inconsistent
    GE> seems like exactly the wrong direction to be going in.

I tend to agree.  I'm sometimes bitten by the double newlines, but as
I think Andrew brought up in c.l.py, I'd rather see a way to tell
readlines() to strip the newlines than to add more magic to print.

print-has-all-the-magic-it-needs-now-<<wink>>-ly y'rs,
-Barry



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