A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-January/032362.html below:

logging package -- rename warn to warning?

[Python-Dev] Re: logging package -- rename warn to warning? [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/)




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4