Opened 4 years ago
Closed 4 years ago
#32265 closed Cleanup/optimization (fixed)
Remove unnecessary ServerHandler.handle_error().
Description ¶
With Petter Strandmark patch (backported to Python 3.7) ConnectionAbortedError
, BrokenPipeError
, ConnectionResetError
raised from SocketServer.BaseServer.finish_request()
are already suppressed by wsgiref.handlers.BaseHandler.run()
, so we can remove ServerHandler.handle_error() when Python 3.7 becomes the minimal Python supported by Django, i.e. in Django 4.0+.
Change History (5)
comment:1 by , 4 years ago
Cc: | added |
---|
comment:2 by , 4 years ago
Triage Stage: | Someday/Maybe → Accepted |
---|
comment:3 by , 4 years ago
Has patch: | set |
---|
comment:4 by , 4 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
Note:
See TracTickets
for help on using tickets.
PR