#24069: Regression in ServerHandler.handler_error
------------------------------+--------------------------------------
     Reporter:  pelme         |                    Owner:  pelme
         Type:  Bug           |                   Status:  assigned
    Component:  Core (Other)  |                  Version:  master
     Severity:  Normal        |               Resolution:
     Keywords:                |             Triage Stage:  Unreviewed
    Has patch:  0             |      Needs documentation:  0
  Needs tests:  0             |  Patch needs improvement:  0
Easy pickings:  0             |                    UI/UX:  0
------------------------------+--------------------------------------
Changes (by pelme):

 * status:  new => assigned
 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * owner:  nobody => pelme
 * needs_docs:   => 0


Old 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()`.

New 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()` or inherit from object.

--

--
Ticket URL: <https://code.djangoproject.com/ticket/24069#comment:1>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.6d2cd0b5942f1864b7e9d0c742a27b89%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to