Opened 10 years ago
Last modified 10 years ago
#24069 closed Bug
Regression in ServerHandler.handler_error — at Version 1
Reported by: | Andreas Pelme | Owned by: | Andreas Pelme |
---|---|---|---|
Component: | Core (Other) | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
9253042d53d61b23b3f727a00c41e8089be73836 which #4444 - silence broken pipe errors introduced a regression in the error handling on Python 2.x.
In Python 2.x, simple_server.ServerHandler
is and old style class. This makes it an error using super() to access the super class.
The solution is simple: explicitly call simple_server.ServerHandler.handle_error()
or inherit from object.
Change History (1)
comment:1 by , 10 years ago
Description: | modified (diff) |
---|---|
Owner: | changed from | to
Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.