[Python-Dev] Re: logging package -- rename warn to warning?

Guido van Rossum guido@python.org
Thu, 23 Jan 2003 07:37:38 -0500


> I thought one reason for the current names is that they match the
> log4j tool and all the other language's versions of that tool.  I'd
> like to see the package keep the standard names to make it easier for
> someone to pick up this package.  Those names are debug, info, warn,
> error, fatal.

OK.  I tried changing warn to warning, and was worried about the
amount of code I'd have to change (at least two versions of Zope have
their own copy of the logging package now).  Changing critical to
fatal would be less work, because there are fewer invocations.

--Guido van Rossum (home page: http://www.python.org/~guido/)