Python 2.5 added a new field, “message”, to the base exception class.
Python 2.6 deprecates it.
We have code (using python 2.4) that was setting “message” and “status” (related to HTTP) in a perfectly legitimate way, that now spews warnings.
Excuse me, why do I have to change code that was working just fine?
Just port it to python 3. That will solve all of your problems. I hear it’s awesome.