[Python-Dev] Proposed change to logging

Barry Warsaw barry at python.org
Wed Aug 25 14:17:43 CEST 2004


On Tue, 2004-08-24 at 23:47, Guido van Rossum wrote:

> Is this really a useful improvement?  It seems to save a few
> keystrokes at most.  TOOWTDI etc.

I'm really more interested in providing a compatible file-like (i.e.
write()) interface to logging objects.  There are a lot of APIs in the
world that are written to accept file-like objects and it would be nice
to be able to pass logging objects directly to them, without having to
first make a detour with StringIO.  I don't really care too much about
the actual implementation of it all.

-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/python-dev/attachments/20040825/5a23affe/attachment.pgp


More information about the Python-Dev mailing list