#17792: pickled object's __setstate__() ignores exceptions
--------------------------------+--------------------------------------
     Reporter:  rpq__@…         |                    Owner:  nobody
         Type:  Uncategorized   |                   Status:  closed
    Component:  Uncategorized   |                  Version:  1.3
     Severity:  Normal          |               Resolution:  invalid
     Keywords:  session pickle  |             Triage Stage:  Unreviewed
    Has patch:  0               |      Needs documentation:  0
  Needs tests:  0               |  Patch needs improvement:  0
Easy pickings:  0               |                    UI/UX:  0
--------------------------------+--------------------------------------
Changes (by aaugustin):

 * status:  new => closed
 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0
 * resolution:   => invalid


Old description:

> I find it odd that any exceptions (TypeError too) raised in a pickled
> object's __setstate__() are ignored.

New description:

 I find it odd that any exceptions (TypeError too) raised in a pickled
 object's `__setstate__()` are ignored.

--

Comment:

 I fail to see how this is a bug in Django. `pickle`, `__setstate__` and
 `TypeError` are pure Python concepts.

 Please provide more information if you were actually describing a bug in
 Django.

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

Reply via email to