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


Groups > comp.lang.python > #80285

Re: Misunderstanding buffering - flushing isn't

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <skip.montanaro@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.078
X-Spam-Evidence '*H*': 0.85; '*S*': 0.00; 'nicely': 0.07; 'python': 0.11; 'contexts,': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'module': 0.19; 'print': 0.22; 'skip': 0.24; 'logging': 0.26; 'header:In- Reply-To:1': 0.27; 'am,': 0.29; 'generally': 0.29; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'file': 0.32; 'received:google.com': 0.35; 'really': 0.36; '(we': 0.36; 'being': 0.38; 'nov': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'liked': 0.60; "you're": 0.61; 'school': 0.64; 'directions,': 0.84; 'subject:skip:M 10': 0.84
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:to :content-type; bh=568/zbgPjqDqcRDx3YT70baX8eB+CXWgDXGqzHk1vDA=; b=dqOmoyHrXLY+3YqdsF7NxP3CNYpviTDirlJ8q4DDQAby7BWS38LHdu8GCHwLijVj3S 8RGH71DiYQAyDnjTWIjIf5PtK/feG9SjrR6sFiiUIHRBrSpjJTPhpxliX4iw1gtW0LDx jd7aB8kmXwRu37/cR8ZDSjpBzI0GgiwGqCRbiY0KO1c28dNPunOkfMlVSBF1GUWXXoQF XPCOkeR6hlpVT0tsMyYqowca5J9FKDnAMko2gRog5DahtUg1hNc5YIoOw+BwlK6Yj+fZ MY1lPvIALD+JkM3XawPetcv+SMZ2odAcQcPJqXroORLRbjeWrESFQwJ0M6mjYJQCXlU1 NhZw==
MIME-Version 1.0
X-Received by 10.50.138.76 with SMTP id qo12mr7373581igb.13.1415210061127; Wed, 05 Nov 2014 09:54:21 -0800 (PST)
In-Reply-To <545a5e88$0$2882$e4fe514c@news.xs4all.nl>
References <mailman.15506.1415205889.18130.python-list@python.org> <545a5e88$0$2882$e4fe514c@news.xs4all.nl>
Date Wed, 5 Nov 2014 11:54:21 -0600
Subject Re: Misunderstanding buffering - flushing isn't
From Skip Montanaro <skip.montanaro@gmail.com>
To 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.15510.1415210069.18130.python-list@python.org> (permalink)
Lines 11
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1415210069 news.xs4all.nl 2860 [2001:888:2000:d::a6]:38736
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:80285

Show key headers only | View raw


On Wed, Nov 5, 2014 at 11:29 AM, Irmen de Jong <irmen.NOSPAM@xs4all.nl> wrote:
> Any reason you're not using the logging module and get it all nicely dumped into a log
> file instead?

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.

Skip

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