[Python-Dev] Re: PEP 282 comments

Tim Peters tim.one@comcast.net
Fri, 22 Mar 2002 13:50:44 -0500


[Barry A. Warsaw]
> I think Jeremy has a good point here.  IME, logging itself is
> unnecessary for for many Python programs, be they library modules or
> simple scripts.

It seems that having a logger module *at all* is a YAGNI for 99% of users
99% of the time.  That suggests that, if it's a good idea to have one
anyway, it should cater to the 1% of users who need it 1% of the time.  This
makes me uncomfortable about rejecting requirements from people who actually
use logging heavily.  Else we're going to reinvent parsermodule:  all the
basic pieces appear to be there, and only someone who actually needs its
facilities will find out they've got to write a ton of stuff on top of it
before getting something truly usable.