id summary reporter owner description type status priority milestone component version severity resolution keywords cc branch changelog apichanges internalchanges 11886 BaseException.message has been deprecated as of Python 2.6 Jun Omae Ryan J Ollos "If non-`TRAC_ADMIN` user requests with `hdfdump=1` parameter and Python 2.6 is used, Python says `DeprecationWarning`. {{{ python trac/web/standalone.py -p 3000 -a '*,/home/jun66j5/src/trac-htdigest.txt,auth' /dev/shm/testenv Server starting in PID 19162. Serving on 0.0.0.0:3000 view at http://127.0.0.1:3000/ Using HTTP/1.1 protocol version /home/jun66j5/src/tracdev/git/trac/web/api.py:137: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 self.detail = detail.message 192.168.11.11 - - [19/Dec/2014 13:03:40] ""GET /testenv?hdfdump=1 HTTP/1.1"" 403 - 192.168.11.11 - - [19/Dec/2014 13:03:40] ""GET /testenv/chrome/site/your_project_logo.png HTTP/1.1"" 404 - 192.168.11.11 - - [19/Dec/2014 13:03:40] ""GET /testenv/chrome/site/your_project_logo.png HTTP/1.1"" 404 - }}}" defect closed normal 1.0.5 general 1.0-stable minor fixed exception Fixed ''!DeprecationWarning'' with Python 2.6 when creating an `HTTPException` from a `PermissionError` due to use of deprecated `message` attribute of base `Exception` class. "* Added `message` property to `PermissionError` class. * Deprecated `msg` attribute of `PermissionError` class. * `HTTPException` is explicitly defined as an abstract base class."