[Python-Dev] PEP282 and the warnings framework

Guido van Rossum guido@python.org
Wed, 15 May 2002 20:00:03 -0400

> Integer levels make a lot of sense to me.  Since the levels are
> primarily used to order the different classes of log messages so that
> they can be filtered, it seems spot on to use an object, like
> integers, that have a natural and intuitive order.

Especially when the particular levels are -300, -200, -100, 0, 100,
200, and 300. :-)

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