[Twisted-Python] twisted.web.error.Error & BaseException.message deprecation

Jason J. W. Williams jasonjwwilliams at gmail.com
Thu Mar 10 17:45:00 EST 2011

Hi Guys,

Been seeing this error for a long time and finally getting off my bum
to see about fixing it:

twisted/web/error.py:53: DeprecationWarning: BaseException.message has
been deprecated as of Python 2.6

It looks like the issue is the "self.message = message" assignment in
__init__: https://gist.github.com/865097

Before I go about getting rid of the warning, does anyone have a
reason Error.message should stick around?


More information about the Twisted-Python mailing list