Opened 10 years ago
Last modified 10 years ago
#24069 closed Bug
Regression in ServerHandler.handler_error — at Initial Version
Reported by: | Andreas Pelme | Owned by: | nobody |
---|---|---|---|
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
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()
.
Note:
See TracTickets
for help on using tickets.