#16563: Error pickling request.user ---------------------------------+------------------------------------ Reporter: zero.fuxor@… | Owner: nobody Type: Bug | Status: new Component: contrib.auth | Version: 1.3 Severity: Release blocker | Resolution: Keywords: | Triage Stage: Accepted Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 ---------------------------------+------------------------------------ Changes (by kmike):
* cc: kmike84@… (added) Comment: Are there obstacles for making LazyObject instances picklable? E.g.: {{{ class LazyObject(object): # ... def __getstate__(self): if self._wrapped is None: self._setup() return self._wrapped def __setstate__(self, state): self._wrapped = state }}} -- Ticket URL: <https://code.djangoproject.com/ticket/16563#comment:19> 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.