[Python-Dev] PEP 259: Omit printing newline after newline

Skip Montanaro skip@pobox.com (Skip Montanaro)
Tue, 12 Jun 2001 10:53:24 -0500


    Tim> The notion that legions of people are using

    Tim>     print line

    Tim> as an obscure way to get double-spacing is taking me by surprise.
    Tim> Nobody on the iterators list had this objection.

I suspect that most CGI scripts that didn't use any abstraction for HTTP
responses suffer from this potential problem.  I've been using one
abstraction or another for quite awhile now, but I still have a few CGI
scripts laying around that still use print to emit headers and bodies of
HTTP responses.

Skip