Should mutter() flush the log file?
Martin Pool
mbp at sourcefrog.net
Fri Jan 6 04:29:31 GMT 2006
On Thu, 2006-01-05 at 20:34 -0600, John Arbash Meinel wrote:
>
>
> I don't think it really matters. But since I was testing that mutter()
> actually did write something, I needed it to flush before I read what
> it
> had written.
>
> I was just wondering since you might be trying to track down a bug
> using mutter(), and python is crashing before it flushes the buffer.
My understanding was that setting buffering=1 (line buffering) was
pretty much equivalent to flushing after each line.
--
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060106/b3a43ed1/attachment.pgp
More information about the bazaar
mailing list