Python 2.6: We're using the standard lib's cgitb module to
provide diagnostic messages when unexpected exceptions occur.

Unfortunately, this module raises a DeprecationWarning like below
when it is used:

C:\Python26\lib\cgitb.py:245: DeprecationWarning:
BaseException.message has been
 deprecated as of Python 2.6
  value = pydoc.text.repr(getattr(evalue, name))

Is there some way to disable this specific warning message (our
customers find it disconcerting) or do we have to go in and edit
the cgitb.py module itself? Also, wondering if this warning has
been addressed in Python 2.7/3.x?

Thank you,
Malcolm
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to