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


Groups > comp.lang.python > #80301

Re: Misunderstanding buffering - flushing isn't

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Misunderstanding buffering - flushing isn't
Date 2014-11-06 02:14 +0000
References <mailman.15506.1415205889.18130.python-list@python.org> <545a5e88$0$2882$e4fe514c@news.xs4all.nl> <CANc-5UxNSmyNixvaf8oN5p6McK=Vk5+fFRHW8nv8OrzOOfTuxQ@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.15525.1415240097.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 05/11/2014 17:54, Skip Montanaro wrote:
> 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
>

My approach was much like yours but I was converted a couple of years 
ago.  Sadly both the name of the author and the title of the article 
left, as the late, great Spike Milligan said in one of his books, "an 
indelible blank on my mind" :)

However in an attempt to show that you can teach a fellow old fart new 
tricks could an article like this help 
http://fruch.github.io/2014/11/06/taming-the-logging-formatter/ ?

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

Back to comp.lang.python | Previous | Next — Previous 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