#20619: Missing call to super in `WSGIRequest.__init__()`
-------------------------------+--------------------------------------
     Reporter:  loic84         |                    Owner:  nobody
         Type:  Bug            |                   Status:  new
    Component:  HTTP handling  |                  Version:  master
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  1              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  1              |                    UI/UX:  0
-------------------------------+--------------------------------------
Changes (by loic84):

 * has_patch:  0 => 1


Comment:

 I've got two solutions to offer:

 1. The heavy machinery which enables WSGIRequest to call `super` in
 `__init__()`:
 https://github.com/loic/django/compare/ticket20619

 2. A manual fix for the missing var initialization and a comment to
 hopefully prevent this from happening again.
 https://github.com/loic/django/compare/ticket20619_take2

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20619#comment:2>
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/064.c81c8d35d9d2aa0ea8c8ac77e3d257cd%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to