A RetroSearch Logo

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

Search Query:

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

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

[Python-Dev] logging package -- rename warn to warning? [Python-Dev] logging package -- rename warn to warning?Guido van Rossum guido@python.org
Sat, 18 Jan 2003 12:24:23 -0500
I think I'd like to change 'warn' to 'warning' (and WARN to WARNING).
While warn() sounds nice as a verb, none of the other
functions/methods are verbs, so I think it's better to name the levels
after conventional level names.  'Warning' is definitely a better name
if you think of a logging level than 'warn'.

Thoughts?  I can implement this for Python 2.3a2.

--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