Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #80287

Re: Misunderstanding buffering - flushing isn't

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <rosuav@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.022
X-Spam-Evidence '*H*': 0.96; '*S*': 0.00; 'syntax': 0.04; 'ugly': 0.07; 'cc:addr:python-list': 0.11; 'python': 0.11; 'contexts,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'notations': 0.16; 'wrote:': 0.18; 'module': 0.19; 'thu,': 0.19; '(the': 0.22; 'cc:addr:python.org': 0.22; 'print': 0.22; 'skip': 0.24; 'cc:2**0': 0.24; 'logging': 0.26; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'am,': 0.29; 'generally': 0.29; 'statement': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'beginning': 0.33; 'but': 0.35; 'received:google.com': 0.35; 'really': 0.36; '(we': 0.36; 'being': 0.38; 'nov': 0.38; 'sure': 0.39; 'either': 0.39; 'liked': 0.60; 'up,': 0.60; 'school': 0.64; 'directions,': 0.84; 'nicely.': 0.84; 'subject:skip:M 10': 0.84; 'to:none': 0.92
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=PeJNzEV9ztkcygG5HIeqmRnYynLls8yRk3a0y2K0Ois=; b=Pacvxp12toZlPnSshT4SFtl0sadTHUynTBZn3tylqbzkc3ix8LnJVK88dHQaXDfVX5 qU1sq4dlTDSHafBvzSNOQm17Hr0M64sRetQ82Yt2/eaUaRPdySa6Q1PqWxaytmykGXvU +HKtWn3VaQbZGxX8dtiByovCfGdGE20L3yzuN5Cv+Af8J5JciHSPEKcHFEyV7YsdWTOU BgAUTpeWPnuqr9uoILTtV6JzOCGK9IQ3NjH9Lp0yCldd3kWqRWpV4RfmRmQgfdWjaGbc paqd/L2QX8sNgIsjOT6VlgO0iQyowiwrGaxH+rWdIW9C0t9SUZgBb2AyArdI4Jx97DBy wJ7A==
MIME-Version 1.0
X-Received by 10.107.134.89 with SMTP id i86mr19615927iod.53.1415210629115; Wed, 05 Nov 2014 10:03:49 -0800 (PST)
In-Reply-To <CANc-5UxNSmyNixvaf8oN5p6McK=Vk5+fFRHW8nv8OrzOOfTuxQ@mail.gmail.com>
References <mailman.15506.1415205889.18130.python-list@python.org> <545a5e88$0$2882$e4fe514c@news.xs4all.nl> <CANc-5UxNSmyNixvaf8oN5p6McK=Vk5+fFRHW8nv8OrzOOfTuxQ@mail.gmail.com>
Date Thu, 6 Nov 2014 05:03:49 +1100
Subject Re: Misunderstanding buffering - flushing isn't
From Chris Angelico <rosuav@gmail.com>
Cc Python <python-list@python.org>
Content-Type text/plain; charset=UTF-8
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.15512.1415210631.18130.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1415210631 news.xs4all.nl 2875 [2001:888:2000:d::a6]:45947
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:80287

Show key headers only | View raw


On Thu, Nov 6, 2014 at 4:54 AM, Skip Montanaro <skip.montanaro@gmail.com> wrote:
> I'm an old fart. What can I say? BITD, (as Irmen is well aware, being
> about as old as I am in Python years), print was all we had. (We also
> walked uphill to school in both directions, in the snow.) While I use
> the logging module in other contexts, I never really liked it, and
> generally use it grudgingly.

I have nothing against print... as long as it's a function. I don't
like the arcane notations shoehorned into the print statement (the >>
syntax always trips me up, I'm never sure whether to put it at the
beginning or the end - it's ugly either way), but the function behaves
nicely.

ChrisA

Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Misunderstanding buffering - flushing isn't Skip Montanaro <skip.montanaro@gmail.com> - 2014-11-05 10:44 -0600
  Re: Misunderstanding buffering - flushing isn't Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2014-11-05 18:29 +0100
    Re: Misunderstanding buffering - flushing isn't Skip Montanaro <skip.montanaro@gmail.com> - 2014-11-05 11:54 -0600
    Re: Misunderstanding buffering - flushing isn't Chris Angelico <rosuav@gmail.com> - 2014-11-06 05:03 +1100
    Re: Misunderstanding buffering - flushing isn't Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-11-06 02:14 +0000

csiph-web