[Python-Dev] PEP282 and the warnings framework

Jeremy Hylton jeremy@zope.com
Wed, 15 May 2002 19:40:31 -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.