#32265: Remove unnecessary ServerHandler.handle_error().
-------------------------------------+-------------------------------------
               Reporter:  Mariusz    |          Owner:  Mariusz Felisiak
  Felisiak                           |
                   Type:             |         Status:  assigned
  Cleanup/optimization               |
              Component:  HTTP       |        Version:  master
  handling                           |
               Severity:  Normal     |       Keywords:
           Triage Stage:             |      Has patch:  0
  Someday/Maybe                      |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 With
 
[https://github.com/python/cpython/commit/47ffc1a9f6fab1c17cdcc325d4af066317369ed7
 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
 
[https://github.com/django/django/blob/187e088b48449a9d3535c85e407f070a4ebc94ef/django/core/servers/basehttp.py#L116-L119
 ServerHandler.handle_error()] when Python 3.7 becomes the minimal Python
 supported by Django, i.e. in Django 4.0+.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32265>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/050.b96a9220e45c8fa30f97582cd6ae2df2%40djangoproject.com.

Reply via email to