[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/)