#17793: SimpleTepmlateResponse is not re-picklable
---------------------------------+--------------------
     Reporter:  ironfroggy       |      Owner:  nobody
         Type:  Bug              |     Status:  new
    Component:  Template system  |    Version:  1.3
     Severity:  Normal           |   Keywords:
 Triage Stage:  Unreviewed       |  Has patch:  0
Easy pickings:  0                |      UI/UX:  0
---------------------------------+--------------------
 When pickling a template response, a few attributes are stripped. Notably,
 template_name and context_data, from the state data for serialization. If
 you unpickle such a response and then try to pickle *that* object,
 __setstate__ will fail when it tries to delete items from the data which
 are already missing.

 1) Why are these removed and do they need to be?
 2) If so, the del statements should catch KeyErrors or check for
 membership first.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17793>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to